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

Add better error handling for ec2 labels #13487

Merged
merged 2 commits into from
Jun 15, 2022
Merged

Add better error handling for ec2 labels #13487

merged 2 commits into from
Jun 15, 2022

Conversation

atburke
Copy link
Contributor

@atburke atburke commented Jun 14, 2022

This PR 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 Show resolved Hide resolved
@atburke atburke merged commit be47ad1 into master Jun 15, 2022
@atburke atburke deleted the atburke/ec2-error branch June 15, 2022 17:34
atburke added a commit that referenced this pull request Jun 15, 2022
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.
atburke added a commit that referenced this pull request Jun 15, 2022
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.
atburke added a commit that referenced this pull request Jun 21, 2022
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.
atburke added a commit that referenced this pull request Jun 21, 2022
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.
@webvictim webvictim mentioned this pull request Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants