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

Update infra_as_service_monitor.py

parent 7bdccfb0
......@@ -189,9 +189,9 @@ def docker_container():
if time>3600:
time=time/3600
timing=str(int(time))+"hour"
if time<60:
elif time<60:
timing=str(int(time))+"seconds"
if time>60:
elif time>60:
time=time/60
timing=str(int(time))+"minute"
data.append([i.name, i.id, i.attrs["State"]["Status"],timing])
......
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