summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-06-23 11:19:33 -0500
committerBrent Baude <bbaude@redhat.com>2020-06-23 11:24:27 -0500
commit9ec0e10484ef9732ba1c4bbb2a9e3620286a5ff3 (patch)
treee8fa64e7fb7e5630833b9676767b35990dffa861 /pkg/domain/entities
parent73514b1465fe2f79b82d017cdb11d587d6f7df3d (diff)
downloadpodman-9ec0e10484ef9732ba1c4bbb2a9e3620286a5ff3.tar.gz
podman-9ec0e10484ef9732ba1c4bbb2a9e3620286a5ff3.tar.bz2
podman-9ec0e10484ef9732ba1c4bbb2a9e3620286a5ff3.zip
Add JSON output field for ps
the toolbox team needs a field in our ps json that represents a human readable time. Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/container_ps.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/domain/entities/container_ps.go b/pkg/domain/entities/container_ps.go
index c5e11f188..05627c4b3 100644
--- a/pkg/domain/entities/container_ps.go
+++ b/pkg/domain/entities/container_ps.go
@@ -15,6 +15,8 @@ type ListContainer struct {
Command []string
// Container creation time
Created int64
+ // Human readable container creation time.
+ CreatedAt string
// If container has exited/stopped
Exited bool
// Time container exited