summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/images.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-04-14 13:20:59 -0500
committerBrent Baude <bbaude@redhat.com>2020-04-14 19:47:49 -0500
commit60dde457f6dc5ec5062a946dbd0848a2b0b06a22 (patch)
treed2ff642f668c58860f6e3aa03f1356fb84b95a1d /pkg/domain/entities/images.go
parentf0b6cdede554316643187d40c67684daf5a2a2bb (diff)
downloadpodman-60dde457f6dc5ec5062a946dbd0848a2b0b06a22.tar.gz
podman-60dde457f6dc5ec5062a946dbd0848a2b0b06a22.tar.bz2
podman-60dde457f6dc5ec5062a946dbd0848a2b0b06a22.zip
More system test fixes on regressions
Fix more regressions between v1 and v2 Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/entities/images.go')
-rw-r--r--pkg/domain/entities/images.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go
index 53a5f4951..78ebb8805 100644
--- a/pkg/domain/entities/images.go
+++ b/pkg/domain/entities/images.go
@@ -2,6 +2,7 @@ package entities
import (
"net/url"
+ "time"
"github.com/containers/image/v5/manifest"
"github.com/containers/image/v5/types"
@@ -99,12 +100,12 @@ type ImageDeleteReport struct {
type ImageHistoryOptions struct{}
type ImageHistoryLayer struct {
- ID string `json:"Id"`
- Created int64 `json:",omitempty"`
- CreatedBy string `json:",omitempty"`
- Tags []string `json:",omitempty"`
- Size int64 `json:",omitempty"`
- Comment string `json:",omitempty"`
+ ID string `json:"id"`
+ Created time.Time `json:"created,omitempty"`
+ CreatedBy string `json:",omitempty"`
+ Tags []string `json:"tags,omitempty"`
+ Size int64 `json:"size"`
+ Comment string `json:"comment,omitempty"`
}
type ImageHistoryReport struct {