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:
@@ -236,7 +236,7 @@ def main():
|
||||
],
|
||||
supports_check_mode=True,
|
||||
)
|
||||
if module._name == 'jenkins_job_facts':
|
||||
if module._name in ('jenkins_job_facts', 'community.general.jenkins_job_facts'):
|
||||
module.deprecate("The 'jenkins_job_facts' module has been renamed to 'jenkins_job_info'", version='2.13')
|
||||
|
||||
test_dependencies(module)
|
||||
|
||||
Reference in New Issue
Block a user