mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
parent
32d01ee6c6
commit
82b5567c92
@ -253,7 +253,7 @@ class SaltEvent(object):
|
||||
mtag = raw[0:20].rstrip('|')
|
||||
mdata = raw[20:]
|
||||
else: # new style
|
||||
mtag, _, mdata = raw.partition(TAGEND) # split tag from data
|
||||
mtag, sep, mdata = raw.partition(TAGEND) # split tag from data
|
||||
|
||||
data = serial.loads(mdata)
|
||||
return mtag, data
|
||||
@ -729,7 +729,7 @@ class ReactWrap(object):
|
||||
|
||||
cmd = local
|
||||
|
||||
def runner(self, _, **kwargs):
|
||||
def runner(self, fun, **kwargs):
|
||||
'''
|
||||
Wrap RunnerClient for executing :ref:`runner modules <all-salt.runners>`
|
||||
'''
|
||||
@ -737,7 +737,7 @@ class ReactWrap(object):
|
||||
self.client_cache['runner'] = salt.runner.RunnerClient(self.opts)
|
||||
self.pool.fire_async(self.client_cache['runner'].low, kwargs)
|
||||
|
||||
def wheel(self, _, **kwargs):
|
||||
def wheel(self, fun, **kwargs):
|
||||
'''
|
||||
Wrap Wheel to enable executing :ref:`wheel modules <all-salt.wheel>`
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user