mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Already fixed on 2015.5
This commit is contained in:
parent
71c0898fb5
commit
a5dafa436c
1 changed files with 1 additions and 4 deletions
|
@ -619,7 +619,7 @@ def sls(mods,
|
|||
)
|
||||
# Backwards compatibility
|
||||
saltenv = env
|
||||
if not saltenv:
|
||||
if saltenv is None:
|
||||
if __opts__.get('environment', None):
|
||||
saltenv = __opts__['environment']
|
||||
else:
|
||||
|
@ -633,9 +633,6 @@ def sls(mods,
|
|||
else:
|
||||
__opts__['pillarenv'] = pillarenv
|
||||
|
||||
if saltenv is None:
|
||||
saltenv = __opts__['environment'] or 'base'
|
||||
|
||||
if queue:
|
||||
_wait(kwargs.get('__pub_jid'))
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue