优化代码

This commit is contained in:
GoEdgeLab
2022-12-31 17:31:17 +08:00
parent 1e54aefafd
commit f12f594b85
4 changed files with 8 additions and 8 deletions

View File

@@ -49,8 +49,8 @@ func (this *UpdateCNAMEPopupAction) RunPost(params struct {
}
serverResp, err := this.RPC().ServerRPC().FindEnabledServer(this.AdminContext(), &pb.FindEnabledServerRequest{
ServerId: params.ServerId,
IgnoreSSLCertData: true,
ServerId: params.ServerId,
IgnoreSSLCerts: true,
})
if err != nil {
this.ErrorPage(err)

View File

@@ -43,8 +43,8 @@ func (this *IndexAction) RunGet(params struct {
// 当前服务信息
serverResp, err := this.RPC().ServerRPC().FindEnabledServer(this.AdminContext(), &pb.FindEnabledServerRequest{
ServerId: params.ServerId,
IgnoreSSLCertData: true,
ServerId: params.ServerId,
IgnoreSSLCerts: true,
})
if err != nil {
this.ErrorPage(err)