优化代码

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

@@ -11,8 +11,8 @@ import (
// FindServer 查找服务信息
func FindServer(p *actionutils.ParentAction, serverId int64) (*pb.Server, *serverconfigs.ServerConfig, bool) {
serverResp, err := p.RPC().ServerRPC().FindEnabledServer(p.AdminContext(), &pb.FindEnabledServerRequest{
ServerId: serverId,
IgnoreSSLCertData: true,
ServerId: serverId,
IgnoreSSLCerts: true,
})
if err != nil {
p.ErrorPage(err)