diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-20 22:05:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-20 22:05:50 +0100 |
commit | 41c88a66080c88d9855c422aed4bf30464e94126 (patch) | |
tree | afbf2510def43b519cc7467f619b7099a96de93e | |
parent | 864fe21ed02ca6faa72e6a94f06c9961167aca7d (diff) | |
parent | e24e6b63722d7ed2f59104e18f00154cffb309b0 (diff) | |
download | podman-41c88a66080c88d9855c422aed4bf30464e94126.tar.gz podman-41c88a66080c88d9855c422aed4bf30464e94126.tar.bz2 podman-41c88a66080c88d9855c422aed4bf30464e94126.zip |
Merge pull request #8423 from psakar/fix-8418
REST API v2 - list of images - mandatory Created attribute
-rw-r--r-- | pkg/domain/entities/images.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go index 101542a98..cbd6e9192 100644 --- a/pkg/domain/entities/images.go +++ b/pkg/domain/entities/images.go @@ -51,10 +51,10 @@ func (i *Image) Id() string { // nolint } type ImageSummary struct { - ID string `json:"Id"` - ParentId string `json:",omitempty"` // nolint - RepoTags []string `json:",omitempty"` - Created int64 `json:",omitempty"` + ID string `json:"Id"` + ParentId string `json:",omitempty"` // nolint + RepoTags []string `json:",omitempty"` + Created int64 Size int64 `json:",omitempty"` SharedSize int `json:",omitempty"` VirtualSize int64 `json:",omitempty"` |