-
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
[PR #1152/63cad4c3 backport][stable-5] Use missing_required_lib more consistently #1153
Merged
tremble
merged 1 commit into
stable-5
from
patchback/backports/stable-5/63cad4c395b043fd4e4dace3c1f0d05536b0f2b4/pr-1152
Oct 11, 2022
Merged
[PR #1152/63cad4c3 backport][stable-5] Use missing_required_lib more consistently #1153
tremble
merged 1 commit into
stable-5
from
patchback/backports/stable-5/63cad4c395b043fd4e4dace3c1f0d05536b0f2b4/pr-1152
Oct 11, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use missing_required_lib more consistently SUMMARY The developer docs recomment using missing_required_lib rather than a custom error message: https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_best_practices.html#importing-and-using-shared-code ISSUE TYPE Feature Pull Request COMPONENT NAME plugins/inventory/aws_ec2.py plugins/inventory/aws_rds.py plugins/lookup/aws_account_attribute.py plugins/lookup/aws_secret.py plugins/lookup/aws_ssm.py ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis <None> (cherry picked from commit 63cad4c)
ansibullbot
added
community_review
feature
This issue/PR relates to a feature request
inventory
inventory plugin
lookup
lookup plugin
module_utils
module_utils
needs_triage
new_contributor
Help guide this first time contributor
plugins
plugin (any type)
labels
Oct 11, 2022
tremble
approved these changes
Oct 11, 2022
Failed test is just changelog, generally flakey |
tremble
deleted the
patchback/backports/stable-5/63cad4c395b043fd4e4dace3c1f0d05536b0f2b4/pr-1152
branch
October 11, 2022 18:12
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
community_review
feature
This issue/PR relates to a feature request
inventory
inventory plugin
lookup
lookup plugin
mergeit
Merge the PR (SoftwareFactory)
module_utils
module_utils
needs_triage
new_contributor
Help guide this first time contributor
plugins
plugin (any type)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a backport of PR #1152 as merged into main (63cad4c).
SUMMARY
The developer docs recomment using missing_required_lib rather than a custom error message:
https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_best_practices.html#importing-and-using-shared-code
ISSUE TYPE
COMPONENT NAME
plugins/inventory/aws_ec2.py
plugins/inventory/aws_rds.py
plugins/lookup/aws_account_attribute.py
plugins/lookup/aws_secret.py
plugins/lookup/aws_ssm.py
ADDITIONAL INFORMATION