Skip to content

Commit

Permalink
chore: remove unused cached TTL value in id_token mutator (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Wobrock authored Jan 2, 2025
1 parent 8330ab4 commit 862a101
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pipeline/mutate/mutator_id_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ func (a *MutatorIDToken) SetCaching(token bool) {

type idTokenCacheContainer struct {
ExpiresAt time.Time
TTL time.Duration
Token string
}

Expand Down Expand Up @@ -115,7 +114,6 @@ func (a *MutatorIDToken) tokenToCache(config *CredentialsIDTokenConfig, session
a.tokenCache.SetWithTTL(
key,
&idTokenCacheContainer{
TTL: ttl,
ExpiresAt: expiresAt,
Token: token,
},
Expand Down

0 comments on commit 862a101

Please sign in to comment.