From baf0678ceb3b7744c8a9dc40824cda8dba840856 Mon Sep 17 00:00:00 2001 From: Pascal Fischer <32096965+pascal-fischer@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:33:57 +0100 Subject: [PATCH] [management] Fix potential panic on inactivity expiration log message (#2854) --- management/server/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/server/account.go b/management/server/account.go index 1810c6b41ec..aa7609388c0 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() }