mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
make sure to copy the top dict reference since we are moding it
This commit is contained in:
parent
a0b671ea43
commit
58cb8cd4f5
1 changed files with 2 additions and 1 deletions
|
@ -901,7 +901,8 @@ class Single(object):
|
|||
opts_pkg['id'] = self.id
|
||||
|
||||
retcode = 0
|
||||
popts = self.context['master_opts'].update(opts_pkg)
|
||||
popts = copy.copy(self.context['master_opts'])
|
||||
popts.update(opts_pkg)
|
||||
pillar = salt.pillar.Pillar(
|
||||
popts,
|
||||
opts_pkg['grains'],
|
||||
|
|
Loading…
Add table
Reference in a new issue