[区域]增加区域管理

This commit is contained in:
GoEdgeLab
2020-12-10 15:02:55 +08:00
parent 84c4670f74
commit 0e790bc2f8
17 changed files with 367 additions and 4 deletions

View File

@@ -146,7 +146,7 @@ func (this *IndexAction) RunGet(params struct {
return
}
for _, group := range groupsResp.Groups {
countResp, err := this.RPC().NodeRPC().CountAllEnabledNodesWithGroupId(this.AdminContext(), &pb.CountAllEnabledNodesWithGroupIdRequest{GroupId: group.Id})
countResp, err := this.RPC().NodeRPC().CountAllEnabledNodesWithNodeGroupId(this.AdminContext(), &pb.CountAllEnabledNodesWithNodeGroupIdRequest{NodeGroupId: group.Id})
if err != nil {
this.ErrorPage(err)
return