mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-23 00:17:10 +08:00
added comments, optimized memory
This commit is contained in:
@@ -77,9 +77,10 @@ func HandleContainedClient() error {
|
||||
logger.Log(3, "completed peers check of network", serverNet.NetID)
|
||||
}
|
||||
}
|
||||
err := SyncNetworks(servernets[:])
|
||||
if err != nil {
|
||||
logger.Log(1, "error syncing networks:", err.Error())
|
||||
syncErr := SyncNetworks(servernets[:])
|
||||
if syncErr != nil {
|
||||
logger.Log(1, "error syncing networks:", syncErr.Error())
|
||||
syncErr = nil
|
||||
}
|
||||
// logger.Log("completed a checkin call", 3)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user