Commit 33bb24a6 authored by jithu.tagore's avatar jithu.tagore

Update infra_as_service_monitor.py

parent fc34e007
......@@ -188,6 +188,7 @@ def docker_container():
end_date = datetime.datetime.now(tz=datetime.timezone.utc)
time=(end_date.astimezone(datetime.timezone.utc) - start_date.astimezone(datetime.timezone.utc))
data.append([i.name, i.id, i.attrs["State"]["Status"]],time)
print(data)
except Exception as 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