mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 09:16:40 +00:00
Merge remote-tracking branch 'origin/fix/export-mgmt-config-url' into deploy/permissions-account
This commit is contained in:
@@ -220,6 +220,10 @@ func generateAccountSQLTypes(account *types.Account) {
|
||||
account.SetupKeysG = append(account.SetupKeysG, *key)
|
||||
}
|
||||
|
||||
if len(account.SetupKeys) != len(account.SetupKeysG) {
|
||||
log.Warnf("SetupKeysG length mismatch for account %s", account.Id)
|
||||
}
|
||||
|
||||
for id, peer := range account.Peers {
|
||||
peer.ID = id
|
||||
account.PeersG = append(account.PeersG, *peer)
|
||||
|
||||
Reference in New Issue
Block a user