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

fix error handling for missing instances #409

Merged
merged 1 commit into from
Apr 22, 2021
Merged

Conversation

haugenj
Copy link
Contributor

@haugenj haugenj commented Apr 14, 2021

Issue #367, if available:

Description of changes:

When an instance is missing the describe-instances call returns an error instead of an empty array.

If you specify an instance ID that is not valid, an error is returned. If you specify an instance that you do not own, it is not included in the output.

Now we'll check the error and handle that case

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@haugenj haugenj requested a review from bwagner5 April 14, 2021 17:33
@brycahta
Copy link
Contributor

Did you try to do a release recently? Looks like ec2-bot is the latest user.

If you know the specific script/target lmk and I'll fix

Copy link
Contributor

@bwagner5 bwagner5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

Copy link
Contributor

@brycahta brycahta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

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