mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix forward port of #46751
self.opts key 'environment' have been renamed to 'saltenv' after 2017.7, thus the forward port broke the 'same' merging strategy again.
This commit is contained in:
parent
9fbdcbe994
commit
3df6fa7990
1 changed files with 1 additions and 1 deletions
|
@ -2999,7 +2999,7 @@ class BaseHighState(object):
|
|||
'top_file_merging_strategy set to \'same\', but no '
|
||||
'default_top configuration option was set'
|
||||
)
|
||||
self.opts['environment'] = self.opts['default_top']
|
||||
self.opts['saltenv'] = self.opts['default_top']
|
||||
|
||||
if self.opts['saltenv']:
|
||||
contents = self.client.cache_file(
|
||||
|
|
Loading…
Add table
Reference in a new issue