diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-02 10:27:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 10:27:16 -0400 |
commit | 469900406ac51332785455bc8668bd1c053badd6 (patch) | |
tree | 7eb39b91c2b9e235cda5298d604c517244c0836e /pkg/domain/entities | |
parent | afa9987f876b08647e419e798a738f0f98e47600 (diff) | |
parent | cba114dd3617b7f793fa43817058d40505f4d454 (diff) | |
download | podman-469900406ac51332785455bc8668bd1c053badd6.tar.gz podman-469900406ac51332785455bc8668bd1c053badd6.tar.bz2 podman-469900406ac51332785455bc8668bd1c053badd6.zip |
Merge pull request #11406 from flouthoc/manifest-rm-only-manifest
manifest: `rm` should not remove referenced images.
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/images.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 |