diff --git a/management/server/account.go b/management/server/account.go index 1810c6b41e..aa7609388c 100644 --- a/management/server/account.go +++ b/management/server/account.go @@ -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() }