Merge remote-tracking branch 'origin/fix/export-mgmt-config-url' into deploy/permissions-account

This commit is contained in:
Pascal Fischer
2025-03-25 11:45:41 +01:00
22 changed files with 196 additions and 106 deletions

View File

@@ -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)