Add propper payload formatting to the master publish return

This commit is contained in:
Thomas S Hatch 2011-03-07 15:23:21 -07:00
parent 198ec3f518
commit e9e11479ca

View file

@ -220,7 +220,8 @@ class ReqServer(threading.Thread):
}
payload['load'] = self.crypticle.dumps(load)
self.publisher.publish(salt.payload.package(payload))
return jid
return = {'enc': 'clear',
'load': {'jid': jid}}
def run(self):
'''