mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +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
|
||||
Names []string `json:",omitempty"`
|
||||
Digest string `json:",omitempty"`
|
||||
ConfigDigest string `json:",omitempty"`
|
||||
History []string `json:",omitempty"`
|
||||
}
|
||||
|
||||
|
@ -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()),
|
||||
|
Reference in New Issue
Block a user