mirror of
https://github.com/newnius/YAO-agent.git
synced 2025-06-06 05:21:55 +00:00
update
This commit is contained in:
parent
2490277853
commit
f4925f25a5
4
agent.py
4
agent.py
@ -118,8 +118,8 @@ class MyHandler(BaseHTTPRequestHandler):
|
||||
'hostname': container.attrs['Config']['Hostname'],
|
||||
'state': container.attrs['State']
|
||||
}
|
||||
if container_id in pending_tasks:
|
||||
status['status'] = 'ready'
|
||||
#if container_id in pending_tasks:
|
||||
# status['status'] = 'ready'
|
||||
if status['command'] is not None:
|
||||
status['command'] = ' '.join(container.attrs['Config']['Cmd'])
|
||||
msg = {'code': 0, 'status': status}
|
||||
|
Loading…
Reference in New Issue
Block a user