mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-11 10:10:46 +08:00
Merge pull request #2025 from gravitl/duplicate_peer_update
remove duplicate peer update
This commit is contained in:
commit
e308ed1866
1 changed files with 0 additions and 6 deletions
|
@ -168,12 +168,6 @@ func UpdateHost(client mqtt.Client, msg mqtt.Message) {
|
||||||
logger.Log(0, "failed to pulish peer update: ", err.Error())
|
logger.Log(0, "failed to pulish peer update: ", err.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if sendPeerUpdate {
|
|
||||||
err := PublishPeerUpdate()
|
|
||||||
if err != nil {
|
|
||||||
logger.Log(0, "failed to pulish peer update: ", err.Error())
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// if servercfg.Is_EE && ifaceDelta {
|
// if servercfg.Is_EE && ifaceDelta {
|
||||||
// if err = logic.EnterpriseResetAllPeersFailovers(currentHost.ID.String(), currentHost.Network); err != nil {
|
// if err = logic.EnterpriseResetAllPeersFailovers(currentHost.ID.String(), currentHost.Network); err != nil {
|
||||||
// logger.Log(1, "failed to reset failover list during node update", currentHost.ID.String(), currentHost.Network)
|
// logger.Log(1, "failed to reset failover list during node update", currentHost.ID.String(), currentHost.Network)
|
||||||
|
|
Loading…
Reference in a new issue