mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Already fixed on 2015.5
This commit is contained in:
parent
71c0898fb5
commit
a5dafa436c
@ -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…
Reference in New Issue
Block a user