diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-08-07 11:56:18 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-08 12:37:51 +0000 |
commit | 71793f9f8a26bc2593968f61a68c0bb42f9da71a (patch) | |
tree | aad50ffe94dea6ab6256e17634bc698637454e42 /libpod/runtime.go | |
parent | 9e06478d8307b0279c991fd47122755fdf7bd922 (diff) | |
download | podman-71793f9f8a26bc2593968f61a68c0bb42f9da71a.tar.gz podman-71793f9f8a26bc2593968f61a68c0bb42f9da71a.tar.bz2 podman-71793f9f8a26bc2593968f61a68c0bb42f9da71a.zip |
Improve ps handling of container start/stop time
Previously all calculations were done based off the container's
start time. Retrieve end time and use it to calculate time
stopped for containers.
Also, convert ps JSON output to report timestamps for create,
start, and stop times.
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes: #1228
Approved by: rhatdan
Diffstat (limited to 'libpod/runtime.go')
0 files changed, 0 insertions, 0 deletions