Skip to content

Commit

Permalink
Don't log on credential cache failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kanwren committed Jan 7, 2025
1 parent 7218e9c commit b1aba1b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/filecache/filecache.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ func (f *FileCacheProvider) RetrieveWithContext(ctx context.Context) (credential
}
} else {
// credential doesn't support expiration time, so can't cache, but still return the credential
_, _ = fmt.Fprint(os.Stderr, "Unable to cache credential: credential doesn't support expiration\n")
err = nil
}
return V2CredentialToV1Value(credential), err
Expand Down

0 comments on commit b1aba1b

Please sign in to comment.