mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use saltenv
opts instead of environment
This commit is contained in:
parent
1c8bd35f28
commit
9498618418
1 changed files with 1 additions and 1 deletions
|
@ -1263,7 +1263,7 @@ def sls(mods, test=None, exclude=None, queue=False, sync_mods=None, **kwargs):
|
|||
for module_type in sync_mods:
|
||||
try:
|
||||
__salt__['saltutil.sync_{0}'.format(module_type)](
|
||||
saltenv=opts['environment']
|
||||
saltenv=opts['saltenv']
|
||||
)
|
||||
except KeyError:
|
||||
log.warning(
|
||||
|
|
Loading…
Add table
Reference in a new issue