-
Notifications
You must be signed in to change notification settings - Fork 343
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
ec2_eni: change data type of device_index
to str when passing it to api as expected by api call
#877
ec2_eni: change data type of device_index
to str when passing it to api as expected by api call
#877
Conversation
device_index
to str as expected by api calldevice_index
to str when passing it to api as expected by api call
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.
It would be really good if we can get an integration test in place to catch this. I thought we did and I'm slightly surprised it didn't fail.
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.
code change lgtm once the PR has test coverage
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
… api as expected by api call (ansible-collections#877) ec2_eni: change data type of `device_index` to str when passing it to api as expected by api call SUMMARY Currently the data type for parameter device_index here while being passed to api call is integer but one of the API calls later used here in the module (describe_network_interfaces) expects it to be string as per boto3 api documentation. Fixes ansible-collections#870 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ec2_eni Reviewed-by: Mark Chappell <None> Reviewed-by: Jill R <None> Reviewed-by: Alina Buzachis <None>
cloudfront_distribution: add missing documentation SUMMARY Closes ansible-collections#877 The modul resprects this parameter already. ISSUE TYPE Docs Pull Request COMPONENT NAME cloudfront_distribution Reviewed-by: Mark Woolley <mw@marknet15.com> Reviewed-by: Alina Buzachis <None>
cloudfront_distribution: add missing documentation SUMMARY Closes ansible-collections#877 The modul resprects this parameter already. ISSUE TYPE Docs Pull Request COMPONENT NAME cloudfront_distribution Reviewed-by: Mark Woolley <mw@marknet15.com> Reviewed-by: Alina Buzachis <None>
cloudfront_distribution: add missing documentation SUMMARY Closes ansible-collections#877 The modul resprects this parameter already. ISSUE TYPE Docs Pull Request COMPONENT NAME cloudfront_distribution Reviewed-by: Mark Woolley <mw@marknet15.com> Reviewed-by: Alina Buzachis <None>
SUMMARY
Currently the data type for parameter
device_index
here while being passed to api call is integer but one of the API calls later used here in the module (describe_network_interfaces) expects it to bestring
as per boto3 api documentation.Fixes #870
ISSUE TYPE
COMPONENT NAME
ec2_eni