mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Instruct ext_job_cache to initiate the returner on function calls
This commit is contained in:
parent
f6d7d9546c
commit
5f49a49a67
@ -872,6 +872,13 @@ class LocalClient(object):
|
||||
tgt = self._convert_range_to_list(tgt)
|
||||
expr_form = 'list'
|
||||
|
||||
# If an external job cache is specified add it to the ret list
|
||||
if self.opts.get('ext_job_cache'):
|
||||
if ret:
|
||||
ret += ',{0}'.format(self.opts['ext_job_cache'])
|
||||
else:
|
||||
ret = self.opts['ext_job_cache']
|
||||
|
||||
# format the payload - make a function that does this in the payload
|
||||
# module
|
||||
# make the zmq client
|
||||
|
Loading…
Reference in New Issue
Block a user