diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-05-27 15:51:24 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-05-28 16:20:29 -0700 |
commit | 5626c2163bff661540e1ae3a5df25f0c7e7573f6 (patch) | |
tree | c5fe7993722f72f96b2f49b1ce47e2bb99adc531 /pkg/domain/entities/images.go | |
parent | e8818ced806910f8ce44939fef08f89139be4119 (diff) | |
download | podman-5626c2163bff661540e1ae3a5df25f0c7e7573f6.tar.gz podman-5626c2163bff661540e1ae3a5df25f0c7e7573f6.tar.bz2 podman-5626c2163bff661540e1ae3a5df25f0c7e7573f6.zip |
V2 verify JSON output is consistent and doesn't drift
$ cd test/apiv2
$ python -m unittest -v test_rest_v1_0_0.TestApi
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/domain/entities/images.go')
-rw-r--r-- | pkg/domain/entities/images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go index 0f909ab37..968bcff3b 100644 --- a/pkg/domain/entities/images.go +++ b/pkg/domain/entities/images.go @@ -50,7 +50,7 @@ func (i *Image) Id() string { } type ImageSummary struct { - ID string + ID string `json:"Id"` ParentId string `json:",omitempty"` RepoTags []string `json:",omitempty"` Created time.Time `json:",omitempty"` |