From 970ff74a767271b3fbd0b88c0e21f237d334014a Mon Sep 17 00:00:00 2001 From: Abhishek Kondur Date: Thu, 9 Nov 2023 21:28:53 +0400 Subject: [PATCH] remove duplicate peer update --- mq/handlers.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mq/handlers.go b/mq/handlers.go index 7b0e23d68..ba409f614 100644 --- a/mq/handlers.go +++ b/mq/handlers.go @@ -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) }