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

Make deprecated keys_attr param ignored in aws_kms_info #838

Merged

Conversation

marknet15
Copy link
Contributor

SUMMARY

Make deprecated keys_attr param ignored in aws_kms_info as planned for 3.0.0

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

aws_kms_info

ADDITIONAL INFORMATION

@markuman markuman added the gate label Dec 20, 2021
Copy link
Contributor

@ansible-zuul ansible-zuul bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ansible-zuul ansible-zuul bot merged commit d698409 into ansible-collections:main Dec 20, 2021
@@ -470,10 +470,9 @@ def main():
# We originally returned "keys"
if module.params['keys_attr']:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    if module.params.get('keys_attr', None) is not None:

@@ -470,10 +470,9 @@ def main():
# We originally returned "keys"
if module.params['keys_attr']:
module.deprecate("Returning results in the 'keys' attribute conflicts with the builtin keys() method on "
"dicts and as such is deprecated. Please use the kms_keys attribute. This warning can be "
"dicts and as such is deprecated and is now ignored. Please use the kms_keys attribute. This warning can be "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"dicts and as such is deprecated.",

@@ -470,10 +470,9 @@ def main():
# We originally returned "keys"
if module.params['keys_attr']:
module.deprecate("Returning results in the 'keys' attribute conflicts with the builtin keys() method on "
"dicts and as such is deprecated. Please use the kms_keys attribute. This warning can be "
"dicts and as such is deprecated and is now ignored. Please use the kms_keys attribute. This warning can be "
"silenced by setting keys_attr to False.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line

ansible-zuul bot pushed a commit that referenced this pull request Jan 7, 2022
aws_kms_info: Correct deprecation of keys_attr

SUMMARY
fixup derecation of keys_attr.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
aws_kms_info
ADDITIONAL INFORMATION
#838

Reviewed-by: Markus Bergholz <[email protected]>
Reviewed-by: Jill R <None>
Reviewed-by: None <None>
softwarefactory-project-zuul bot pushed a commit that referenced this pull request May 30, 2022
aws_kms_info - remove deprecated keys_attr parameter

SUMMARY
remove deprecated keys_attr parameter
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
aws_kms_info
ADDITIONAL INFORMATION
See also: #838

Reviewed-by: Alina Buzachis <None>
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.

4 participants