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

Private module attribute moved in Ansible Core 2.11 #118

Closed
samdoran opened this issue Mar 22, 2021 · 1 comment
Closed

Private module attribute moved in Ansible Core 2.11 #118

samdoran opened this issue Mar 22, 2021 · 1 comment

Comments

@samdoran
Copy link

samdoran commented Mar 22, 2021

SUMMARY

Argument spec validation has changed in Ansible Core 2.11. The following private attribute call should be changed to use the public variable:

cisco.iosxr/plugins/modules/iosxr_user.py
507:            type_checker = self._module._CHECK_ARGUMENT_TYPES_DISPATCHER[  # --> ansible.module_utils.common.parameters.DEFAULT_TYPE_VALIDATORS

The private attribute is available for backwards compatibility only.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

iosxr_user.py

ANSIBLE VERSION
2.11
@samdoran samdoran changed the title Private module attribute no longer available in Ansible Core 2.11 Private module attribute moved in Ansible Core 2.11 Mar 22, 2021
@Qalthos
Copy link
Contributor

Qalthos commented Mar 24, 2021

We can't move to the new location while we support versions < 2.11, and the private attribute will persist for the foreseeable future.

I'm keeping the original issue at ansible-collections/ansible.netcommon#186 open for now to coordinate efforts around replacing it if and when that becomes feasible

@Qalthos Qalthos closed this as completed Mar 24, 2021
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

No branches or pull requests

2 participants