Skip to content

Commit

Permalink
printing local name in access cache log
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMHD committed Feb 24, 2024
1 parent 361c2e2 commit 9f0f8d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/auth/authenticator_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ func (a *Authenticator) buildNewAccessTokensCache(

a.logger.Info("access token cache built successfully", "len", len(newAccessTokensCache))

for _, entry := range newAccessTokensCache {
a.logger.Info("webservice stored", "name", entry.Name, "allowedWebservices", entry.allowedWebservicesCache)
for key, entry := range newAccessTokensCache {
a.logger.Info("webservice stored", "name", key, "allowedWebservices", entry.allowedWebservicesCache)
}

return &newAccessTokensCache
Expand Down

0 comments on commit 9f0f8d4

Please sign in to comment.