Skip to content

Commit

Permalink
fix forward port of #46751
Browse files Browse the repository at this point in the history
self.opts key 'environment' have been renamed to 'saltenv' after 2017.7,
thus the forward port broke the 'same' merging strategy again.
  • Loading branch information
folti authored and rallytime committed May 3, 2018
1 parent 9fbdcbe commit 3df6fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -2999,7 +2999,7 @@ def get_tops(self):
'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(
Expand Down

0 comments on commit 3df6fa7

Please sign in to comment.