mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Merge pull request #43672 from rallytime/bp-43415
Back-port #43415 to 2016.11
This commit is contained in:
commit
1d4fa48209
@ -2906,7 +2906,7 @@ class BaseHighState(object):
|
|||||||
Returns:
|
Returns:
|
||||||
{'saltenv': ['state1', 'state2', ...]}
|
{'saltenv': ['state1', 'state2', ...]}
|
||||||
'''
|
'''
|
||||||
matches = {}
|
matches = DefaultOrderedDict(OrderedDict)
|
||||||
# pylint: disable=cell-var-from-loop
|
# pylint: disable=cell-var-from-loop
|
||||||
for saltenv, body in six.iteritems(top):
|
for saltenv, body in six.iteritems(top):
|
||||||
if self.opts['environment']:
|
if self.opts['environment']:
|
||||||
|
Loading…
Reference in New Issue
Block a user