Skip to content

Commit 4b9d665

Browse files
committed
Remove no-op err assignment
1 parent 38b1ead commit 4b9d665

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/filecache/filecache.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ func (f *FileCacheProvider) RetrieveWithContext(ctx context.Context) (credential
252252
} else {
253253
// credential doesn't support expiration time, so can't cache, but still return the credential
254254
_, _ = fmt.Fprint(os.Stderr, "Unable to cache credential: credential doesn't support expiration\n")
255-
err = nil
256255
}
257256
return V2CredentialToV1Value(credential), err
258257
}

0 commit comments

Comments
 (0)