Skip to content
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

[v10] Add better error handling for ec2 labels (#13487) #13529

Merged
merged 3 commits into from
Jun 21, 2022

Conversation

atburke
Copy link
Contributor

@atburke atburke commented Jun 15, 2022

Backport of #13487.

This change adds a more useful error message for EC2 labels when tags aren't available in EC2 instance metadata. It also adds a cleaner fallback for when individual tag values can't be fetched.
lib/labels/ec2/ec2.go Outdated Show resolved Hide resolved
Co-authored-by: Roman Tkachenko <[email protected]>
@atburke atburke enabled auto-merge (squash) June 21, 2022 16:11
@atburke atburke merged commit f379555 into branch/v10 Jun 21, 2022
@atburke atburke mentioned this pull request Jun 21, 2022
@zmb3 zmb3 deleted the atburke/v10/ec2-error branch April 26, 2023 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants