mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-09 16:21:01 +08:00
things
This commit is contained in:
parent
b5be396f87
commit
bc009d03e3
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ func NodeUpdate(client mqtt.Client, msg mqtt.Message) {
|
|||
}
|
||||
//deal with DNS
|
||||
if newNode.DNSOn != "yes" && shouldDNSChange && nodeCfg.Node.Interface != "" {
|
||||
logger.Log(0, "Network: ", nodeCfg.Node > network, " settng DNS off")
|
||||
logger.Log(0, "Network: ", nodeCfg.Node.Network, " settng DNS off")
|
||||
if err := removeHostDNS(nodeCfg.Node.Interface, ncutils.IsWindows()); err != nil {
|
||||
logger.Log(0, "Network: ", nodeCfg.Node.Network, " error removing netmaker profile from /etc/hosts "+err.Error())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue