summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2021-02-12 12:08:31 -0600
committerbaude <bbaude@redhat.com>2021-02-12 12:08:59 -0600
commit4067f3a4d6500e3a1ab16afbfeaed20f2b349fed (patch)
tree8a85e7c898486cafad8d5ab750a24eb9aa9e746a
parent73cf06a453a60966616926d17ad4e89cef0e1dec (diff)
downloadpodman-4067f3a4d6500e3a1ab16afbfeaed20f2b349fed.tar.gz
podman-4067f3a4d6500e3a1ab16afbfeaed20f2b349fed.tar.bz2
podman-4067f3a4d6500e3a1ab16afbfeaed20f2b349fed.zip
change ps Created to unix
change from unixnano to unix for ps created --format json [NO TESTS NEEDED] Signed-off-by: baude <bbaude@redhat.com>
-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)
}