From c3f7e0597d53dbfc2d35e6b28b98943bb52df626 Mon Sep 17 00:00:00 2001 From: Abhishek Kondur Date: Mon, 31 Jul 2023 15:57:02 +0530 Subject: [PATCH] use local port for metrics pinger --- logic/peers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/peers.go b/logic/peers.go index b5a15b24b..646d728b5 100644 --- a/logic/peers.go +++ b/logic/peers.go @@ -240,7 +240,7 @@ func GetPeerUpdateForHost(network string, host *models.Host, allNodes []models.N Address: peer.PrimaryAddress(), Name: peerHost.Name, Network: peer.Network, - ListenPort: GetPeerListenPort(peerHost), + ListenPort: peerHost.ListenPort, } hostPeerUpdate.NodePeers = append(hostPeerUpdate.NodePeers, nodePeer) }