1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-06 00:32:13 +00:00

Adjust deprecation versions.

This commit is contained in:
Felix Fontein 2020-06-13 16:51:18 +02:00
parent f9589d78a8
commit 7bb008a964
136 changed files with 549 additions and 678 deletions

View file

@ -121,7 +121,8 @@ def main():
required_one_of=(("password", "token"), ),
supports_check_mode=True)
if module._name in ('github_webhook_facts', 'community.general.github_webhook_facts'):
module.deprecate("The 'github_webhook_facts' module has been renamed to 'github_webhook_info'", version='2.13')
module.deprecate("The 'github_webhook_facts' module has been renamed to 'github_webhook_info'",
version='3.0.0', collection_name='community.general') # was Ansible 2.13
if not HAS_GITHUB:
module.fail_json(msg=missing_required_lib('PyGithub'),