[management] Fix peer update test for MetricsConfig in NetbirdConfig

Update TestUpdateAccountPeers assertions: NetbirdConfig is no longer
nil in peer update responses since it now carries MetricsConfig even
when STUN/TURN config is absent.
This commit is contained in:
Zoltán Papp
2026-07-01 13:15:34 +02:00
committed by Viktor Liu
parent 9bf905e080
commit 62023b040d
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ func (c *ClientMetrics) UpdatePushFromMgm(ctx context.Context, enabled bool) {
if c.push == nil {
return
}
log.Infof("disabled metrics push by managmenet")
log.Infof("disabled metrics push by management")
c.stopPushLocked()
}
}