Commit e3f70764 authored by jithu.tagore's avatar jithu.tagore

Update infra_as_service_monitor.py

parent eac2fc00
......@@ -221,6 +221,7 @@ def docker_container():
else:
containers = docker_client.containers.list(all=True)
for each in containers:
if each.attrs["State"]["Status"] =="restarting" or each.attrs["State"]["Status"] =="exited":
container_restart.append(each)
......
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