From cba114dd3617b7f793fa43817058d40505f4d454 Mon Sep 17 00:00:00 2001 From: Aditya Rajan Date: Thu, 2 Sep 2021 17:17:22 +0530 Subject: manifest: rm should not remove referenced images. Following PR makes sure that `podman manifest rm ` only removes the named manifest list and not referenced images. Bumping and squashing c/common to v0.43.3-0.20210902095222-a7acc160fb25 in same commit in order to make sure build commit test passes. Signed-off-by: Aditya Rajan --- pkg/domain/entities/images.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/domain/entities/images.go') diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go index 262b09cad..c575212b1 100644 --- a/pkg/domain/entities/images.go +++ b/pkg/domain/entities/images.go @@ -89,6 +89,8 @@ type ImageRemoveOptions struct { All bool // Foce will force image removal including containers using the images. Force bool + // Confirms if given name is a manifest list and removes it, otherwise returns error. + LookupManifest bool } // ImageRemoveResponse is the response for removing one or more image(s) from storage -- cgit v1.2.3-54-g00ecf