mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-10 23:24:32 +08:00
use local port for metrics pinger (#2479)
This commit is contained in:
parent
a7914b1631
commit
f2dcac12af
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue