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>
This commit is contained in:
Valentin Rothberg
2022-05-24 13:53:54 +02:00
parent 90a6f39d0f
commit fbeef1d700
2 changed files with 0 additions and 3 deletions

View File

@ -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"`
}

View File

@ -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()),