mirror of https://github.com/openspug/spug
fix issue
parent
8bf75ad9ff
commit
ec90b820ba
|
@ -141,12 +141,13 @@ class RequestDetailView(View):
|
||||||
for item in data:
|
for item in data:
|
||||||
counter += 1
|
counter += 1
|
||||||
item = json.loads(item.decode())
|
item = json.loads(item.decode())
|
||||||
if 'data' in item:
|
if item['key'] in outputs:
|
||||||
outputs[item['key']]['data'] += item['data']
|
if 'data' in item:
|
||||||
if 'step' in item:
|
outputs[item['key']]['data'] += item['data']
|
||||||
outputs[item['key']]['step'] = item['step']
|
if 'step' in item:
|
||||||
if 'status' in item:
|
outputs[item['key']]['step'] = item['step']
|
||||||
outputs[item['key']]['status'] = item['status']
|
if 'status' in item:
|
||||||
|
outputs[item['key']]['status'] = item['status']
|
||||||
data = rds.lrange(key, counter, counter + 9)
|
data = rds.lrange(key, counter, counter + 9)
|
||||||
response['index'] = counter
|
response['index'] = counter
|
||||||
if req.is_quick_deploy:
|
if req.is_quick_deploy:
|
||||||
|
|
Loading…
Reference in New Issue