diff options
author | baude <bbaude@redhat.com> | 2021-02-12 12:08:31 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2021-02-12 15:04:37 -0600 |
commit | f36d860385a1d33a2aabea7b4848ef6217398c3c (patch) | |
tree | c7ee8057b2bc4c6ea5129a389bcb4a12f156542d | |
parent | aa353f77056bcc530074a259243993555da103fa (diff) | |
download | podman-f36d860385a1d33a2aabea7b4848ef6217398c3c.tar.gz podman-f36d860385a1d33a2aabea7b4848ef6217398c3c.tar.bz2 podman-f36d860385a1d33a2aabea7b4848ef6217398c3c.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.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/containers/ps.go b/cmd/podman/containers/ps.go index c8b704038..23baca70f 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) } |