Przeglądaj źródła

fix vscode autocompletion error

Matthew R. Kasun 3 lat temu
rodzic
commit
cc5bc8f84d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      netclient/functions/mqhandlers.go

+ 1 - 1
netclient/functions/mqhandlers.go

@@ -205,7 +205,7 @@ func UpdatePeers(client mqtt.Client, msg mqtt.Message) {
 		}
 	} else {
 		if err := removeHostDNS(ncutils.IsWindows()); err != nil {
-			ncutils.Log("error removing netmaker profile from /etc/hosts " + dataErr.Error())
+			ncutils.Log("error removing netmaker profile from /etc/hosts " + err.Error())
 			return
 		}
 	}