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 compat for legacy operation methods on waiters #442

Merged
merged 1 commit into from
Jan 27, 2015

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Jan 26, 2015

While pulling in #437,
I noticed that we aren't handling the 'error' matcher properly
because of a CLI customization that will raise an error on
non 200 responses. This handles that case so, for example, the
command
aws rds wait db-instance-deleted --db-instance-identifier foo
will work as expected. Previously, the error was being propogated
and the CLI command would exit with a non-zero RC and a client error
message.

cc @kyleknap @danielgtaylor

While pulling in boto#437,
I noticed that we aren't handling the 'error' matcher properly
because of a CLI customization that will raise an error on
non 200 responses.  This handles that case so, for example, the
command
`aws rds wait db-instance-deleted --db-instance-identifier foo`
will work as expected.  Previously, the error was being propogated
and the CLI command would exit with a non-zero RC and a client error
message.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 94.11% when pulling f528c27 on jamesls:fix-waiters-old into 4a2163f on boto:develop.

@kyleknap
Copy link
Contributor

This looks good. 🚢 As a note if you want to add an integration test for this in the CLI, bucket-not-exists and object-not-exists commands would be easy testing options.

@jamesls
Copy link
Member Author

jamesls commented Jan 26, 2015

Sounds good. I'll send a PR for a CLI integration test.

@jamesls jamesls merged commit f528c27 into boto:develop Jan 27, 2015
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