节点安装界面显示SSH地址,方便用户校对

This commit is contained in:
刘祥超
2023-08-09 15:41:07 +08:00
parent 0464c6ce43
commit 844cec1011
4 changed files with 44 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ func (this *IndexAction) RunGet(params struct {
}
var grantMap = maps.Map{}
grantId := loginParams.GetInt64("grantId")
var grantId = loginParams.GetInt64("grantId")
if grantId > 0 {
grantResp, err := this.RPC().NodeGrantRPC().FindEnabledNodeGrant(this.AdminContext(), &pb.FindEnabledNodeGrantRequest{NodeGrantId: grantId})
if err != nil {