summaryrefslogtreecommitdiff
path: root/libpod/pod.go
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2021-04-13 06:50:56 -0600
committerEd Santiago <santiago@redhat.com>2021-04-13 06:50:56 -0600
commitbc2f60ad6d445d326f421cf933ad3f9d891e232a (patch)
tree72bb758062e0e526cc41c6252debe69dfe9fbc0c /libpod/pod.go
parent481556cbee53fb18e327a71726a0380481ffb767 (diff)
downloadpodman-bc2f60ad6d445d326f421cf933ad3f9d891e232a.tar.gz
podman-bc2f60ad6d445d326f421cf933ad3f9d891e232a.tar.bz2
podman-bc2f60ad6d445d326f421cf933ad3f9d891e232a.zip
System tests: setup: better cleanup of stray images
Fix a corner case in basic_setup(), where we rmi stray images. If a test tags $IMAGE and fails to rmi by tag name, cleanup could rmi both tag name and IID, wiping out the desired image: podman tag $IMAGE foo ... cleanup: rmi foo $FOO_IID [this removes $IMAGE!] Solution: rmi by name, but only rmi by IID if != $IMAGE. TOTH to ypu for bringing this to my attention. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'libpod/pod.go')
0 files changed, 0 insertions, 0 deletions