-
Notifications
You must be signed in to change notification settings - Fork 995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore: Log refresh credentials error #7540
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for karpenter-docs-prod ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Pull Request Test Coverage Report for Build 12384140991Details
💛 - Coveralls |
55e8258
to
113e643
Compare
if err == nil { | ||
return false | ||
} | ||
if strings.Contains(err.Error(), "failed to refresh cached credentials") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the code on this? Generally I'm not sure what the guarantees are on the formatting of this messaging that I worry about relying on it.
This PR has been inactive for 14 days. StaleBot will close this stale PR after 14 more days of inactivity. |
Fixes #N/A
Description
Only log credential refresh errors instead of returning them to
Only log credential refresh errors instead of returning them to reduce alert noise in metrics.
How was this change tested?
Does this change impact docs?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.