mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add warn_until Fluorine
This commit is contained in:
parent
707906ac15
commit
8898e5ff11
1 changed files with 5 additions and 0 deletions
|
@ -73,6 +73,11 @@ def _set_powercfg_value(scheme, sub_group, setting_guid, power, value):
|
|||
'''
|
||||
Sets the AC/DC values of a setting with the given power for the given scheme
|
||||
'''
|
||||
salt.utils.warn_until(
|
||||
'Fluorine',
|
||||
'This function now expects the timeout value in minutes instead of '
|
||||
'seconds as stated in the documentation. This warning will be removed '
|
||||
'in Salt Fluorine.')
|
||||
if scheme is None:
|
||||
scheme = _get_current_scheme()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue