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:
@@ -155,7 +155,7 @@ def main():
|
||||
),
|
||||
supports_check_mode=False
|
||||
)
|
||||
if module._name == 'memset_memstore_facts':
|
||||
if module._name in ('memset_memstore_facts', 'community.general.memset_memstore_facts'):
|
||||
module.deprecate("The 'memset_memstore_facts' module has been renamed to 'memset_memstore_info'", version='2.13')
|
||||
|
||||
# populate the dict with the user-provided vars.
|
||||
|
||||
@@ -280,7 +280,7 @@ def main():
|
||||
),
|
||||
supports_check_mode=False
|
||||
)
|
||||
if module._name == 'memset_server_facts':
|
||||
if module._name in ('memset_server_facts', 'community.general.memset_server_facts'):
|
||||
module.deprecate("The 'memset_server_facts' module has been renamed to 'memset_server_info'", version='2.13')
|
||||
|
||||
# populate the dict with the user-provided vars.
|
||||
|
||||
Reference in New Issue
Block a user