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

Update infra_as_service_monitor.py

parent e0f6bb90
...@@ -178,6 +178,7 @@ def docker_container(): ...@@ -178,6 +178,7 @@ def docker_container():
start= i.attrs["State"]["StartedAt"] start= i.attrs["State"]["StartedAt"]
finish= i.attrs["State"]["FinishedAt"] finish= i.attrs["State"]["FinishedAt"]
print(start,"hew",finish) print(start,"hew",finish)
print(i)
data.append([i.name, i.id, i.attrs["State"]["Status"]]) data.append([i.name, i.id, i.attrs["State"]["Status"]])
except Exception as e: except Exception as e:
logger.exception(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