From 4b9d6658c4213cb25e26d6df36ba0ebfd0d38847 Mon Sep 17 00:00:00 2001 From: Nicole Wren Date: Mon, 6 Jan 2025 19:10:25 -0800 Subject: [PATCH] Remove no-op err assignment --- pkg/filecache/filecache.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/filecache/filecache.go b/pkg/filecache/filecache.go index b4163fc74..823f07853 100644 --- a/pkg/filecache/filecache.go +++ b/pkg/filecache/filecache.go @@ -252,7 +252,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 }