remove unused network map field from update

This commit is contained in:
Pascal Fischer
2025-10-08 19:33:49 +02:00
parent 274711a37e
commit 8d47175cdb
3 changed files with 6 additions and 9 deletions

View File

@@ -1061,8 +1061,8 @@ func testUpdateAccountPeers(t *testing.T) {
for _, channel := range peerChannels {
update := <-channel
assert.Nil(t, update.Update.NetbirdConfig)
assert.Equal(t, tc.peers, len(update.NetworkMap.Peers))
assert.Equal(t, tc.peers*2, len(update.NetworkMap.FirewallRules))
assert.Equal(t, tc.peers, len(update.Update.NetworkMap.RemotePeers))
assert.Equal(t, tc.peers*2, len(update.Update.NetworkMap.FirewallRules))
}
})
}