mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 13:14:24 +08:00
fix nmctl node update
This commit is contained in:
parent
a81de819d2
commit
ebb1349228
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ var nodeUpdateCmd = &cobra.Command{
|
|||
node.DNSOn = dnsOn
|
||||
node.Connected = !disconnect
|
||||
}
|
||||
node.HostID = functions.GetNodeByID(networkName, nodeID).Host.ID.String()
|
||||
functions.PrettyPrint(functions.UpdateNode(networkName, nodeID, node))
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue