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

Update infra_as_service_monitor.py

parent e6584e8f
......@@ -181,7 +181,6 @@ def docker_container():
container = docker_client.containers.get(each)
except docker.errors.NotFound as exc:
print(f"Check container name!\n{exc.explanation}")
print(container)
if container in containers:
if container.attrs["State"]["Status"] =="restarting" or container.attrs["State"]["Status"] =="exited":
container_restart.append(container)
......
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