From 5626c2163bff661540e1ae3a5df25f0c7e7573f6 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Wed, 27 May 2020 15:51:24 -0700 Subject: 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 --- pkg/domain/entities/images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/domain') 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"` -- cgit v1.2.3-54-g00ecf