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 #244

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

Private module attribute moved in Ansible Core 2.11 #244

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

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:

ansible.netcommon/plugins/module_utils/network/common/utils.py
291:                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

ansible.netcommon/plugins/module_utils/network/common/utils.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 Qalthos self-assigned this Mar 24, 2021
@Qalthos
Copy link
Collaborator

Qalthos commented Mar 24, 2021

Duplicate of #186

@Qalthos Qalthos marked this as a duplicate of #186 Mar 24, 2021
@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