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 Jul 31, 2023
1 parent a7914b1 commit f2dcac1
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 f2dcac1

Please sign in to comment.