mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix module._name comparisons to also consider FQCNs. (#230)
This commit is contained in:
@@ -141,7 +141,7 @@ def main():
|
||||
)
|
||||
|
||||
module = AnsibleModule(argument_spec=argument_spec)
|
||||
if module._name == 'digital_ocean_image_facts':
|
||||
if module._name in ('digital_ocean_image_facts', 'community.general.digital_ocean_image_facts'):
|
||||
module.deprecate("The 'digital_ocean_image_facts' module has been renamed to 'digital_ocean_image_info'", version='2.13')
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user