mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #40329 from isbm/isbm-merge-tops-201611
Merge tops (backport)
This commit is contained in:
commit
3a6c5d0297
1 changed files with 1 additions and 1 deletions
|
@ -562,7 +562,7 @@ class RemoteFuncs(object):
|
|||
if fun not in self.opts.get('master_tops', {}):
|
||||
continue
|
||||
try:
|
||||
ret.update(self.tops[fun](opts=opts, grains=grains))
|
||||
ret = salt.utils.dictupdate.merge(ret, self.tops[fun](opts=opts, grains=grains), merge_lists=True)
|
||||
except Exception as exc:
|
||||
# If anything happens in the top generation, log it and move on
|
||||
log.error(
|
||||
|
|
Loading…
Add table
Reference in a new issue