优化API命名

This commit is contained in:
GoEdgeLab
2021-05-25 17:48:51 +08:00
parent 35e93baebf
commit 706750f550
35 changed files with 114 additions and 114 deletions

View File

@@ -41,7 +41,7 @@ func (this *ServersPopupAction) RunGet(params struct {
return
}
for _, cluster := range clustersResp.NodeClusters {
serversResp, err := this.RPC().ServerRPC().FindAllEnabledServersDNSWithClusterId(this.AdminContext(), &pb.FindAllEnabledServersDNSWithClusterIdRequest{NodeClusterId: cluster.Id})
serversResp, err := this.RPC().ServerRPC().FindAllEnabledServersDNSWithNodeClusterId(this.AdminContext(), &pb.FindAllEnabledServersDNSWithNodeClusterIdRequest{NodeClusterId: cluster.Id})
if err != nil {
this.ErrorPage(err)
return