mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-29 07:49:14 +01:00
minor change
This commit is contained in:
@@ -26,6 +26,9 @@ func (am *DefaultAccountManager) getPeerNetworkMapExp(
|
|||||||
metrics *telemetry.AccountManagerMetrics,
|
metrics *telemetry.AccountManagerMetrics,
|
||||||
) *types.NetworkMap {
|
) *types.NetworkMap {
|
||||||
account := am.getAccountFromHolder(accountId)
|
account := am.getAccountFromHolder(accountId)
|
||||||
|
if account == nil {
|
||||||
|
log.WithContext(ctx).Warnf("account %s not found in holder when getting peer network map", accountId)
|
||||||
|
}
|
||||||
return account.GetPeerNetworkMapExp(ctx, peerId, customZone, validatedPeers, metrics)
|
return account.GetPeerNetworkMapExp(ctx, peerId, customZone, validatedPeers, metrics)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user