mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-08 14:15:25 +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())
|
||||
}
|
||||
}
|
||||
if sendPeerUpdate {
|
||||
err := PublishPeerUpdate()
|
||||
if err != nil {
|
||||
logger.Log(0, "failed to pulish peer update: ", err.Error())
|
||||
}
|
||||
}
|
||||
// if servercfg.Is_EE && ifaceDelta {
|
||||
// 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)
|
||||
|
|
Loading…
Add table
Reference in a new issue