mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fix regression in state orchestration
This falls back to using the effective saltenv when no saltenv has been explicitly passed.
This commit is contained in:
parent
561a416cf3
commit
16eae64cca
@ -230,7 +230,7 @@ def state(
|
||||
if pillar:
|
||||
cmd_kw['kwarg']['pillar'] = pillar
|
||||
|
||||
cmd_kw['kwarg']['saltenv'] = saltenv
|
||||
cmd_kw['kwarg']['saltenv'] = saltenv if saltenv is not None else __env__
|
||||
cmd_kw['kwarg']['queue'] = queue
|
||||
|
||||
if isinstance(concurrent, bool):
|
||||
|
Loading…
Reference in New Issue
Block a user