Instruct ext_job_cache to initiate the returner on function calls

This commit is contained in:
Thomas S Hatch 2012-11-04 19:02:54 -07:00
parent f6d7d9546c
commit 5f49a49a67

View File

@ -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