aboutsummaryrefslogtreecommitdiff
path: root/pkg/copy
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2021-08-18 14:19:11 -0400
committerMatthew Heon <mheon@redhat.com>2021-08-20 11:32:33 -0400
commitf0d0c48d2e38a6a34e687ef8c75caef30790bcdd (patch)
treec05a24cba4776644fc9d502405e96c8be5219325 /pkg/copy
parent89818f72b740195215520c7765a686ca843e46a7 (diff)
downloadpodman-f0d0c48d2e38a6a34e687ef8c75caef30790bcdd.tar.gz
podman-f0d0c48d2e38a6a34e687ef8c75caef30790bcdd.tar.bz2
podman-f0d0c48d2e38a6a34e687ef8c75caef30790bcdd.zip
Volumes: Only remove from DB if plugin removal succeeds
Originally, Podman would unconditionally remove volumes from the DB, even if they failed to be removed from the volume plugin; this was a safety measure to ensure that `volume rm` can always remove a volume from the database, even if the plugin is misbehaving. However, this is a significant deivation from Docker, which refuses to remove if the plugin errors. These errors can be legitimate configuration issues which the user should address before the volume is removed, so Podman should also use this behaviour. Fixes #11214 Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'pkg/copy')
0 files changed, 0 insertions, 0 deletions