summaryrefslogtreecommitdiff
path: root/pkg/ps
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2021-04-14 13:35:43 -0400
committerMatthew Heon <mheon@redhat.com>2021-04-21 14:17:53 -0400
commite1ea4835fc5cb92aeb41e995652fcca406661214 (patch)
treec82fd1bad933558fd14423973d7a83c5c8becc0e /pkg/ps
parent4973e4704f5d1f99f18db6df00daec8e39b71b7d (diff)
downloadpodman-e1ea4835fc5cb92aeb41e995652fcca406661214.tar.gz
podman-e1ea4835fc5cb92aeb41e995652fcca406661214.tar.bz2
podman-e1ea4835fc5cb92aeb41e995652fcca406661214.zip
rmi: don't break when the image is missing a manifest
In libpod/image.Image.Remove(), if the attempt to find the image's parent fails for any reason, log a warning and proceed as though it didn't have one instead of failing, which would leave us unable to remove the image without resetting everything. In libpod/Runtime.RemoveImage(), if we can't determine if an image has children, log a warning, and assume that it doesn't have any instead of failing, which would leave us unable to remove the image without resetting everything. In pkg/domain/infra/abi.ImageEngine.Remove(), when attempting to remove all images, if we encounter an error checking if a given image has children, log a warning, and assume that it doesn't have any instead of failing, which would leave us unable to remove the image without resetting everything. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Diffstat (limited to 'pkg/ps')
0 files changed, 0 insertions, 0 deletions