mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-27 06:49:07 +01:00
small log
This commit is contained in:
@@ -79,10 +79,10 @@ func (a *Account) ShadowCompareNetworkMap(
|
|||||||
|
|
||||||
if diff.HasDifferences() {
|
if diff.HasDifferences() {
|
||||||
log.WithContext(ctx).Warnf(
|
log.WithContext(ctx).Warnf(
|
||||||
"shadow comparison MISMATCH for peer %s: %s",
|
"shadow comparison MISMATCH for account %s and peer %s: %s", a.Id, peerID, diff.String())
|
||||||
peerID, diff.String(),
|
|
||||||
)
|
|
||||||
saveMismatchedMaps(ctx, a.Id, peerID, legacyNetworkMap, componentsNetworkMap, diff)
|
saveMismatchedMaps(ctx, a.Id, peerID, legacyNetworkMap, componentsNetworkMap, diff)
|
||||||
|
} else {
|
||||||
|
log.WithContext(ctx).Tracef("shadow comparison MATCH for account %s and peer %s", a.Id, peerID)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user