-
Notifications
You must be signed in to change notification settings - Fork 342
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
Refactor module_utils/cloudfront_facts and add unit tests #1265
Refactor module_utils/cloudfront_facts and add unit tests #1265
Conversation
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
d6ef31a
to
d894aaa
Compare
recheck |
if 'Items' in item['Aliases']: | ||
aliases = item['Aliases']['Items'] | ||
for alias in aliases: | ||
keyed_list.update({alias: item}) |
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.
I've a bit confused by the code of this function. I understand it's the original code and you've just moved it. We're ignoring all the aliases but the last one. It sounds wrong.
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.
I don't why you are saying that it sounds wrong, basically the code extend the item so that we can find element using either distribution id or one its aliases
recheck |
check ondemand |
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
update module using module_utils/cloudfront_facts.py Depends-On: ansible-collections/amazon.aws#1265 SUMMARY update cloudfront_* modules, fix some bugs and add integration tests ISSUE TYPE Feature Pull Request Reviewed-by: Alina Buzachis <None> Reviewed-by: Bikouo Aubin <None>
… support (ansible-collections#1265) [5.0.0] iam_server_cerificate - complete deprecation cycles SUMMARY fixes: ansible-collections#1257 In ansible-collections#735 we deprecated passing filenames and prepared to switch the default value of dup_ok to True. This PR completes the deprecation cycle (1 release late) ISSUE TYPE Feature Pull Request COMPONENT NAME iam_server_certificate ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis <None>
…ions#1596) update module using module_utils/cloudfront_facts.py Depends-On: ansible-collections#1265 SUMMARY update cloudfront_* modules, fix some bugs and add integration tests ISSUE TYPE Feature Pull Request Reviewed-by: Alina Buzachis <None> Reviewed-by: Bikouo Aubin <None>
… support (ansible-collections#1265) [5.0.0] iam_server_cerificate - complete deprecation cycles SUMMARY fixes: ansible-collections#1257 In ansible-collections#735 we deprecated passing filenames and prepared to switch the default value of dup_ok to True. This PR completes the deprecation cycle (1 release late) ISSUE TYPE Feature Pull Request COMPONENT NAME iam_server_certificate ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis <None>
…ions#1596) update module using module_utils/cloudfront_facts.py Depends-On: ansible-collections#1265 SUMMARY update cloudfront_* modules, fix some bugs and add integration tests ISSUE TYPE Feature Pull Request Reviewed-by: Alina Buzachis <None> Reviewed-by: Bikouo Aubin <None>
…ansible-collections#1265) [5.0.0] iam_server_cerificate - complete deprecation cycles SUMMARY fixes: ansible-collections#1257 In ansible-collections#735 we deprecated passing filenames and prepared to switch the default value of dup_ok to True. This PR completes the deprecation cycle (1 release late) ISSUE TYPE Feature Pull Request COMPONENT NAME iam_server_certificate ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@058ecff
…ansible-collections#1265) [5.0.0] iam_server_cerificate - complete deprecation cycles SUMMARY fixes: ansible-collections#1257 In ansible-collections#735 we deprecated passing filenames and prepared to switch the default value of dup_ok to True. This PR completes the deprecation cycle (1 release late) ISSUE TYPE Feature Pull Request COMPONENT NAME iam_server_certificate ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis <None> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@058ecff
… support (ansible-collections#1265) [5.0.0] iam_server_cerificate - complete deprecation cycles SUMMARY fixes: ansible-collections#1257 In ansible-collections#735 we deprecated passing filenames and prepared to switch the default value of dup_ok to True. This PR completes the deprecation cycle (1 release late) ISSUE TYPE Feature Pull Request COMPONENT NAME iam_server_certificate ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis <None>
Depends-On: ansible/ansible-zuul-jobs#1695
SUMMARY
refactor module_utils/cloudfront_facts.py and unit tests
ISSUE TYPE