Skip to content

Commit

Permalink
use local port for metrics pinger (#2479)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 authored and mattkasun committed Aug 14, 2023
1 parent b8f387a commit 5fd805a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/peers.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,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)
}
Expand Down

0 comments on commit 5fd805a

Please sign in to comment.