增加SSH认证连接测试功能

This commit is contained in:
刘祥超
2021-04-18 21:19:50 +08:00
parent e585149a7e
commit 89f391ca22
22 changed files with 221 additions and 63 deletions

View File

@@ -33,7 +33,7 @@ func (this *IndexAction) RunGet(params struct{}) {
return
}
grantMaps := []maps.Map{}
for _, grant := range grantsResp.Grants {
for _, grant := range grantsResp.NodeGrants {
// 集群数
countClustersResp, err := this.RPC().NodeClusterRPC().CountAllEnabledNodeClustersWithGrantId(this.AdminContext(), &pb.CountAllEnabledNodeClustersWithGrantIdRequest{GrantId: grant.Id})
if err != nil {