summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-13 15:26:53 +0100
committerGitHub <noreply@github.com>2022-01-13 15:26:53 +0100
commit1b970e8598bd414dc2e84fbb1334f42065ed8233 (patch)
treecdd77a5c767bd192f2976840fe40b4127f4e3034 /pkg/domain/entities
parentcb06133d42e4041fe19d2e66f254abf188f1025e (diff)
parent5aedcb36435048dc06a18476aed2cfda1bf41031 (diff)
downloadpodman-1b970e8598bd414dc2e84fbb1334f42065ed8233.tar.gz
podman-1b970e8598bd414dc2e84fbb1334f42065ed8233.tar.bz2
podman-1b970e8598bd414dc2e84fbb1334f42065ed8233.zip
Merge pull request #12644 from leahneukirchen/events-timestamp
remote events: convert TimeNano properly
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/events.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/entities/events.go b/pkg/domain/entities/events.go
index 73a375b94..fa815d7b9 100644
--- a/pkg/domain/entities/events.go
+++ b/pkg/domain/entities/events.go
@@ -42,7 +42,7 @@ func ConvertToLibpodEvent(e Event) *libpodEvents.Event {
Image: image,
Name: name,
Status: status,
- Time: time.Unix(e.Time, e.TimeNano),
+ Time: time.Unix(0, e.TimeNano),
Type: t,
Details: libpodEvents.Details{
Attributes: details,