mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix bug in environment gathering on the master
This commit is contained in:
parent
19fbdde46a
commit
bf4501c1bd
@ -667,8 +667,8 @@ class AESFuncs(object):
|
||||
mopts = dict(self.opts)
|
||||
file_roots = dict(mopts['file_roots'])
|
||||
envs = self._file_envs()
|
||||
for env in file_roots:
|
||||
if not env in envs:
|
||||
for env in envs:
|
||||
if not env in file_roots:
|
||||
file_roots[env] = []
|
||||
mopts['file_roots'] = file_roots
|
||||
return mopts
|
||||
|
Loading…
Reference in New Issue
Block a user