mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #44483 from terminalmage/issue44034
salt-call: account for instances where __pillar__ is empty
This commit is contained in:
commit
2c89050a24
@ -662,7 +662,7 @@ class State(object):
|
||||
.format(', '.join(VALID_PILLAR_ENC))
|
||||
)
|
||||
self._pillar_enc = pillar_enc
|
||||
if initial_pillar is not None:
|
||||
if initial_pillar:
|
||||
self.opts['pillar'] = initial_pillar
|
||||
if self._pillar_override:
|
||||
self.opts['pillar'] = salt.utils.dictupdate.merge(
|
||||
|
Loading…
Reference in New Issue
Block a user