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