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

Update infra_as_service_monitor.py

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