mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
pass in empty kwarg for reactor
This commit is contained in:
parent
b948e980d2
commit
0257c1dc32
2 changed files with 3 additions and 3 deletions
|
@ -571,9 +571,7 @@ class Compiler(object):
|
|||
if state.startswith('__'):
|
||||
continue
|
||||
chunk = {'state': state,
|
||||
'name': name,
|
||||
'arg': [],
|
||||
'kwarg': {}}
|
||||
'name': name}
|
||||
if '__sls__' in body:
|
||||
chunk['__sls__'] = body['__sls__']
|
||||
if '__env__' in body:
|
||||
|
|
|
@ -273,6 +273,8 @@ class ReactWrap(object):
|
|||
try:
|
||||
f_call = salt.utils.format_call(l_fun, low)
|
||||
kwargs = f_call.get('kwargs', {})
|
||||
if 'kwarg' not in kwargs:
|
||||
kwargs['kwarg'] = {}
|
||||
|
||||
# TODO: Setting the user doesn't seem to work for actual remote publishes
|
||||
if low['state'] in ('runner', 'wheel'):
|
||||
|
|
Loading…
Add table
Reference in a new issue