mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-08 10:11:08 +08:00
fixing mac stuff and dns testing
This commit is contained in:
@@ -110,7 +110,14 @@ func CheckIn(cfg config.ClientConfig) error {
|
||||
}
|
||||
err = functions.CheckConfig(*currConf)
|
||||
if err != nil {
|
||||
ncutils.PrintLog("error checking in for "+network+" network: "+err.Error(), 1)
|
||||
if strings.Contains(err.Error(), "could not find iface") {
|
||||
err = Pull(cfg)
|
||||
if err != nil {
|
||||
ncutils.PrintLog(err.Error(), 1)
|
||||
}
|
||||
} else {
|
||||
ncutils.PrintLog("error checking in for "+network+" network: "+err.Error(), 1)
|
||||
}
|
||||
} else {
|
||||
ncutils.PrintLog("checked in successfully for "+network, 1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user