summaryrefslogtreecommitdiff
path: root/libpod/state_test.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-08-07 11:56:18 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-08 12:37:51 +0000
commit71793f9f8a26bc2593968f61a68c0bb42f9da71a (patch)
treeaad50ffe94dea6ab6256e17634bc698637454e42 /libpod/state_test.go
parent9e06478d8307b0279c991fd47122755fdf7bd922 (diff)
downloadpodman-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/state_test.go')
0 files changed, 0 insertions, 0 deletions