mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix module._name comparisons to also consider FQCNs. (#230)
This commit is contained in:
@@ -209,7 +209,7 @@ def main():
|
||||
],
|
||||
)
|
||||
|
||||
if module._name == 'xenserver_guest_facts':
|
||||
if module._name in ('xenserver_guest_facts', 'community.general.xenserver_guest_facts'):
|
||||
module.deprecate("The 'xenserver_guest_facts' module has been renamed to 'xenserver_guest_info'", version='2.13')
|
||||
|
||||
result = {'failed': False, 'changed': False}
|
||||
|
||||
Reference in New Issue
Block a user