-
Notifications
You must be signed in to change notification settings - Fork 398
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 UnboundLocalError in sqs_queue #389
Fix UnboundLocalError in sqs_queue #389
Conversation
Hello, When can we expect this merge to happen? Kind regards, |
Hi @leedm777, thanks very much for this patch. It looks like this bug was missed because we don't have any integration tests that exercise |
@jillr ,
Absolutely. I don't see any instructions on how to run the tests; can you point me in the right direction? Once I can run them, then I'll be able to write some new tests😄 |
You can always just push the changes to the PR and CI will run them for you, if you want to use you own account locally you can run the integration test locally by copying this config file https://github.com/ansible/ansible/blob/devel/test/lib/ansible_test/config/cloud-config-aws.ini.template to |
The variable `existing_value` is nowhere to be found, but looks like this might have been missed in a rename. Changing to `value`. Fixes ansible-collections#172
aa8cbff
to
5d2a484
Compare
I've added a minimal integration test and a changelog. |
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.
change LGTM.
The test's straight out of the examples and I've tested locally with and without the change. Assuming all tests pass let's get this merged.
Thanks for your contribution. I'm sorry it took so long to get this PR merged. The fix should be available in the next versions of Ansible 2.10 and this collection. |
* Fix UnboundLocalError in sqs_queue The variable `existing_value` is nowhere to be found, but looks like this might have been missed in a rename. Changing to `value`. Fixes ansible-collections#172 * integration test * changelog Co-authored-by: Mark Chappell <[email protected]>
* Fix UnboundLocalError in sqs_queue The variable `existing_value` is nowhere to be found, but looks like this might have been missed in a rename. Changing to `value`. Fixes ansible-collections#172 * integration test * changelog Co-authored-by: Mark Chappell <[email protected]>
* Fix UnboundLocalError in sqs_queue The variable `existing_value` is nowhere to be found, but looks like this might have been missed in a rename. Changing to `value`. Fixes ansible-collections#172 * integration test * changelog Co-authored-by: Mark Chappell <[email protected]>
* Fix UnboundLocalError in sqs_queue The variable `existing_value` is nowhere to be found, but looks like this might have been missed in a rename. Changing to `value`. Fixes ansible-collections#172 * integration test * changelog Co-authored-by: Mark Chappell <[email protected]>
SUMMARY
The variable
existing_value
is nowhere to be found, but looks likethis might have been missed in a rename. Changing to
value
.Fixes #172
ISSUE TYPE
COMPONENT NAME
sqs_queue
ADDITIONAL INFORMATION
See details in #172