diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-05-24 13:53:54 +0200 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-05-24 16:07:39 +0200 |
commit | fbeef1d70065913625f70e19283f9ba7c21ec249 (patch) | |
tree | 0ea444ea01555bcad0cab5fcc9029a960958e542 /pkg | |
parent | 90a6f39d0f107059571ad9e640476dc1f3901f8c (diff) | |
download | podman-fbeef1d70065913625f70e19283f9ba7c21ec249.tar.gz podman-fbeef1d70065913625f70e19283f9ba7c21ec249.tar.bz2 podman-fbeef1d70065913625f70e19283f9ba7c21ec249.zip |
image list: remove unused ConfigDigest
Remove the `ConfigDigest` field from `entities.ImageSummary` which has
never been populated (or documented) until now. Unless there is a
specific request or need to support it, remove the TODO that was added
during the libimage migration.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/domain/entities/images.go | 1 | ||||
-rw-r--r-- | pkg/domain/infra/abi/images_list.go | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go index 553be1157..28ffcfbdf 100644 --- a/pkg/domain/entities/images.go +++ b/pkg/domain/entities/images.go @@ -68,7 +68,6 @@ type ImageSummary struct { // Podman extensions Names []string `json:",omitempty"` Digest string `json:",omitempty"` - ConfigDigest string `json:",omitempty"` History []string `json:",omitempty"` } diff --git a/pkg/domain/infra/abi/images_list.go b/pkg/domain/infra/abi/images_list.go index 9a0aaaf3a..25cddc503 100644 --- a/pkg/domain/infra/abi/images_list.go +++ b/pkg/domain/infra/abi/images_list.go @@ -37,8 +37,6 @@ func (ir *ImageEngine) List(ctx context.Context, opts entities.ImageListOptions) e := entities.ImageSummary{ ID: img.ID(), - // TODO: libpod/image didn't set it but libimage should - // ConfigDigest: string(img.ConfigDigest), Created: img.Created().Unix(), Dangling: isDangling, Digest: string(img.Digest()), |