Skip to content

Commit

Permalink
[management] Fix potential panic on inactivity expiration log message (
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fischer authored Nov 7, 2024
1 parent 7fef8f6 commit baf0678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion management/server/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit baf0678

Please sign in to comment.