cron: adjust deprecated version (#52531)

* add changelog fragment

* fixed freudian slip in changelog
pull/52559/head
René Moser 6 years ago committed by GitHub
parent fbf4e32b43
commit d99728d9e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
minor_changes:
- "Added missing deprecation warning for param 'reboot' and use without param 'name' to the cron module."

@ -613,12 +613,12 @@ def main():
if not name:
module.deprecate(
msg="The 'name' parameter will be required in future releases.",
version='2.10'
version='2.12'
)
if reboot:
module.deprecate(
msg="The 'reboot' parameter will be removed in future releases. Use 'special_time' option instead.",
version='2.10'
version='2.12'
)
if module._diff:

Loading…
Cancel
Save