mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Fix module._name comparisons to also consider FQCNs. (#230)
This commit is contained in:
parent
d31b9dfa99
commit
61cf2b74c4
63 changed files with 63 additions and 63 deletions
|
@ -259,7 +259,7 @@ def main():
|
|||
module = AnsibleModule(argument_spec=fields,
|
||||
mutually_exclusive=[['ids', 'name']],
|
||||
supports_check_mode=True)
|
||||
if module._name == 'one_image_facts':
|
||||
if module._name in ('one_image_facts', 'community.general.one_image_facts'):
|
||||
module.deprecate("The 'one_image_facts' module has been renamed to 'one_image_info'", version='2.13')
|
||||
|
||||
if not HAS_PYONE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue