[区域]增加区域管理

This commit is contained in:
刘祥超
2020-12-10 15:02:55 +08:00
parent 90c5e69157
commit 33676c7c80
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