summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-02-12 15:54:46 -0500
committerGitHub <noreply@github.com>2021-02-12 15:54:46 -0500
commit87b2722c457e9937ab5e8a4047da38e6887065e6 (patch)
tree8031d543dca618ca2c188f66db499a00e93fb504
parent1d15ed708f2d7c6dab5ee90415acb156973ac1a4 (diff)
parent4067f3a4d6500e3a1ab16afbfeaed20f2b349fed (diff)
downloadpodman-87b2722c457e9937ab5e8a4047da38e6887065e6.tar.gz
podman-87b2722c457e9937ab5e8a4047da38e6887065e6.tar.bz2
podman-87b2722c457e9937ab5e8a4047da38e6887065e6.zip
Merge pull request #9343 from baude/pstonano
change ps Created to unix
-rw-r--r--cmd/podman/containers/ps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/containers/ps.go b/cmd/podman/containers/ps.go
index bfb821159..51e7bf5b5 100644
--- a/cmd/podman/containers/ps.go
+++ b/cmd/podman/containers/ps.go
@@ -152,7 +152,7 @@ func jsonOut(responses []entities.ListContainer) error {
con.Status = psReporter{con}.Status()
jf := jsonFormat{
ListContainer: con,
- Created: con.Created.UnixNano(),
+ Created: con.Created.Unix(),
}
r = append(r, jf)
}