[management] Fix potential panic on inactivity expiration log message (#2854)

This commit is contained in:
Pascal Fischer 2024-11-07 16:33:57 +01:00 committed by GitHub
parent 7fef8f6758
commit baf0678ceb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1249,7 +1249,7 @@ func (am *DefaultAccountManager) peerInactivityExpirationJob(ctx context.Context
account, err := am.Store.GetAccount(ctx, accountID)
if err != nil {
log.Errorf("failed getting account %s expiring peers", account.Id)
log.Errorf("failed getting account %s expiring peers", accountID)
return account.GetNextInactivePeerExpiration()
}