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

Update infra_as_service_monitor.py

parent e9d1b096
......@@ -180,6 +180,7 @@ def docker_container():
end=i.attrs["State"]["FinishedAt"]
start_date = dateutil.parser.isoparse(start)
end_date = dateutil.parser.isoparse(end)
print(start_date,end_date)
time=((end_date-start_date).total_seconds())/3600
print(time)
data.append([i.name, i.id, i.attrs["State"]["Status"]])
......
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