Commit 1bc5b2fd authored by jithu.tagore's avatar jithu.tagore

Update infra_as_service_monitor.py

parent 887ee5a1
......@@ -176,6 +176,7 @@ def docker_container():
if i.attrs["State"]["Status"] =="restarting" or i.attrs["State"]["Status"] =="exited":
container_restart.append(i)
print(i.attrs["State"])
print(i.name,i.id)
data.append([i.name, i.id, i.attrs["State"]["Status"]])
except Exception as e:
logger.exception(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment