mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-06 04:10:25 +08:00
节点选择认证时增加推荐
This commit is contained in:
@@ -37,6 +37,12 @@ func (this *UpdateNodeSSHAction) RunGet(params struct {
|
||||
"name": node.Name,
|
||||
}
|
||||
|
||||
if nodeResp.NsNode.NsCluster != nil {
|
||||
this.Data["clusterId"] = nodeResp.NsNode.NsCluster.Id
|
||||
} else {
|
||||
this.Data["clusterId"] = 0
|
||||
}
|
||||
|
||||
// SSH
|
||||
loginParams := maps.Map{
|
||||
"host": "",
|
||||
|
||||
Reference in New Issue
Block a user