diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-21 02:39:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 02:39:53 -0400 |
commit | 9ef298e78438b2b8654bf87db157b4090b5e0523 (patch) | |
tree | 271c5bcd00b416489bbfef7a9caac4418de738e0 /pkg | |
parent | 101571dc6b02a042d5ad97de79b03d3ad5a1eeb6 (diff) | |
parent | fd9dd7065d440f9d44d51ddccbda20c01ccdc1aa (diff) | |
download | podman-9ef298e78438b2b8654bf87db157b4090b5e0523.tar.gz podman-9ef298e78438b2b8654bf87db157b4090b5e0523.tar.bz2 podman-9ef298e78438b2b8654bf87db157b4090b5e0523.zip |
Merge pull request #10033 from nalind/just-remove-it
rmi: don't break when the image is missing a manifest
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/domain/infra/abi/images.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go index c02eb2bfc..84c7ebecd 100644 --- a/pkg/domain/infra/abi/images.go +++ b/pkg/domain/infra/abi/images.go @@ -620,8 +620,8 @@ func (ir *ImageEngine) Remove(ctx context.Context, images []string, opts entitie for _, img := range storageImages { isParent, err := img.IsParent(ctx) if err != nil { - rmErrors = append(rmErrors, err) - continue + logrus.Warnf("%v, ignoring the error", err) + isParent = false } // Skip parent images. if isParent { |