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

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

@@ -48,7 +48,7 @@ func (this *SelectPopupAction) RunGet(params struct{}) {
certMaps := []maps.Map{}
nowTime := time.Now().Unix()
for _, certConfig := range certConfigs {
countServersResp, err := this.RPC().ServerRPC().CountServersWithSSLCertId(this.AdminContext(), &pb.CountServersWithSSLCertIdRequest{CertId: certConfig.Id})
countServersResp, err := this.RPC().ServerRPC().CountAllEnabledServersWithSSLCertId(this.AdminContext(), &pb.CountAllEnabledServersWithSSLCertIdRequest{CertId: certConfig.Id})
if err != nil {
this.ErrorPage(err)
return