summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-23 14:14:43 -0400
committerGitHub <noreply@github.com>2020-06-23 14:14:43 -0400
commitaa6881dd1474506610a85926f58893efe67eb98d (patch)
treefad9ed257abcfc906ed103850a6ece49a9c5b53f /pkg
parent92af85fcc2cb35b04ed74072ffd54d65b936d288 (diff)
parent9ec0e10484ef9732ba1c4bbb2a9e3620286a5ff3 (diff)
downloadpodman-aa6881dd1474506610a85926f58893efe67eb98d.tar.gz
podman-aa6881dd1474506610a85926f58893efe67eb98d.tar.bz2
podman-aa6881dd1474506610a85926f58893efe67eb98d.zip
Merge pull request #6731 from baude/toolboxjson
Add JSON output field for ps
Diffstat (limited to 'pkg')
-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