mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix for issue 22880, this should be **kwargs, not kwargs=None.
Without this fix, and kwargs passed results in a TypeError
This commit is contained in:
parent
180f2af73b
commit
ffc2683e81
@ -148,7 +148,7 @@ class SyncClientMixin(object):
|
||||
|
||||
return ret['data']['return']
|
||||
|
||||
def cmd(self, fun, arg=None, pub_data=None, kwarg=None):
|
||||
def cmd(self, fun, arg=None, pub_data=None, **kwarg):
|
||||
'''
|
||||
Execute a function
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user