mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Deprecate passing __env__
in states in favor of saltenv
This commit is contained in:
parent
155422ff0f
commit
edda49ae1f
@ -632,7 +632,7 @@ def script(name,
|
||||
|
||||
if isinstance(env, string_types):
|
||||
msg = (
|
||||
'Passing a salt environment should be done using \'__env__\' not '
|
||||
'Passing a salt environment should be done using \'saltenv\' not '
|
||||
'\'env\'. This warning will go away in Salt Helium and this '
|
||||
'will be the default and expected behaviour. Please update your '
|
||||
'state files.'
|
||||
|
Loading…
Reference in New Issue
Block a user