实现缓存策略部分管理功能

This commit is contained in:
GoEdgeLab
2020-10-02 17:22:24 +08:00
parent d44a0b1cbf
commit bfa6227a82
53 changed files with 1163 additions and 211 deletions

View File

@@ -13,7 +13,7 @@ func (this *DeleteAction) RunPost(params struct {
CertId int64
}) {
// 是否正在被使用
countResp, err := this.RPC().ServerRPC().CountServersWithSSLCertId(this.AdminContext(), &pb.CountServersWithSSLCertIdRequest{CertId: params.CertId})
countResp, err := this.RPC().ServerRPC().CountAllEnabledServersWithSSLCertId(this.AdminContext(), &pb.CountAllEnabledServersWithSSLCertIdRequest{CertId: params.CertId})
if err != nil {
this.ErrorPage(err)
return