cron: adjust deprecated version (#52531)
* add changelog fragment * fixed freudian slip in changelog
This commit is contained in:
parent
fbf4e32b43
commit
d99728d9e6
2 changed files with 4 additions and 2 deletions
|
@ -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…
Reference in a new issue