summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/images_history.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-19 18:19:43 +0100
committerGitHub <noreply@github.com>2020-03-19 18:19:43 +0100
commit093d9ef67341f474078bff1cba713caa0b10a692 (patch)
treebf5409bc6bc6ceeeb496ef7d7a140f2f24486835 /pkg/api/handlers/compat/images_history.go
parentb43e249b1d9a8d63335e7c3ac88d6ac68b21e366 (diff)
parentfbe743501e2a3ea28fe446754b9b12988b4e7a0e (diff)
downloadpodman-093d9ef67341f474078bff1cba713caa0b10a692.tar.gz
podman-093d9ef67341f474078bff1cba713caa0b10a692.tar.bz2
podman-093d9ef67341f474078bff1cba713caa0b10a692.zip
Merge pull request #5546 from jwhonce/wip/entities
V2 podman command
Diffstat (limited to 'pkg/api/handlers/compat/images_history.go')
-rw-r--r--pkg/api/handlers/compat/images_history.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/images_history.go b/pkg/api/handlers/compat/images_history.go
index 04304caa4..afadf4c48 100644
--- a/pkg/api/handlers/compat/images_history.go
+++ b/pkg/api/handlers/compat/images_history.go
@@ -28,7 +28,7 @@ func HistoryImage(w http.ResponseWriter, r *http.Request) {
for _, h := range history {
l := handlers.HistoryResponse{
ID: h.ID,
- Created: h.Created.UnixNano(),
+ Created: h.Created.Unix(),
CreatedBy: h.CreatedBy,
Tags: h.Tags,
Size: h.Size,