mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Loop over all lowstates, not just the first o_O
This commit is contained in:
parent
b69bbd2654
commit
70588f2f69
@ -484,7 +484,8 @@ class Minions(LowDataAdapter):
|
||||
:status 401: authentication required
|
||||
:status 406: requested :mailheader:`Content-Type` not available
|
||||
'''
|
||||
cherrypy.request.lowstate[0]['client'] = 'local_async'
|
||||
for chunk in cherrypy.request.lowstate:
|
||||
chunk['client'] = 'local_async'
|
||||
job_data = next(self.exec_lowstate(), {})
|
||||
raise cherrypy.HTTPRedirect('/jobs/{jid}'.format(**job_data), 302)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user