Skip to content

Commit

Permalink
remove duplicate peer update
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Nov 9, 2023
1 parent 532b2b5 commit 970ff74
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mq/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,6 @@ func UpdateHost(client mqtt.Client, msg mqtt.Message) {
if node.IsIngressGateway {
gwClients = logic.GetGwExtclients(node.ID.String(), node.Network)
}
err = PublishDeletedNodePeerUpdate(&node)
if err != nil {
slog.Error("error publishing peer update", "error", err.Error())
}
go PublishMqUpdatesForDeletedNode(node, false, gwClients)
}

Expand Down

0 comments on commit 970ff74

Please sign in to comment.