mirror of
https://github.com/containers/podman.git
synced 2025-06-23 10:38:20 +08:00
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:
@ -68,7 +68,6 @@ type ImageSummary struct {
|
|||||||
// Podman extensions
|
// Podman extensions
|
||||||
Names []string `json:",omitempty"`
|
Names []string `json:",omitempty"`
|
||||||
Digest string `json:",omitempty"`
|
Digest string `json:",omitempty"`
|
||||||
ConfigDigest string `json:",omitempty"`
|
|
||||||
History []string `json:",omitempty"`
|
History []string `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,6 @@ func (ir *ImageEngine) List(ctx context.Context, opts entities.ImageListOptions)
|
|||||||
|
|
||||||
e := entities.ImageSummary{
|
e := entities.ImageSummary{
|
||||||
ID: img.ID(),
|
ID: img.ID(),
|
||||||
// TODO: libpod/image didn't set it but libimage should
|
|
||||||
// ConfigDigest: string(img.ConfigDigest),
|
|
||||||
Created: img.Created().Unix(),
|
Created: img.Created().Unix(),
|
||||||
Dangling: isDangling,
|
Dangling: isDangling,
|
||||||
Digest: string(img.Digest()),
|
Digest: string(img.Digest()),
|
||||||
|
Reference in New Issue
Block a user