Skip to content

Commit

Permalink
Remove no-op err assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
kanwren committed Jan 7, 2025
1 parent 38b1ead commit 4b9d665
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 @@ -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
}
Expand Down

0 comments on commit 4b9d665

Please sign in to comment.