mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
d1c9e9cfe9
When there is an error unmounting a local volume, it is still possible
to call `Remove()` on the volume causing removal of the mounted
resources which is generally not desirable.
This ensures that resources are unmounted before attempting removal.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
drivers | ||
local | ||
store | ||
testutils | ||
validate.go | ||
validate_test.go | ||
validate_test_unix.go | ||
validate_test_windows.go | ||
volume.go | ||
volume_copy.go | ||
volume_copy_unix.go | ||
volume_copy_windows.go | ||
volume_linux.go | ||
volume_linux_test.go | ||
volume_propagation_linux.go | ||
volume_propagation_linux_test.go | ||
volume_propagation_unsupported.go | ||
volume_test.go | ||
volume_unix.go | ||
volume_unsupported.go | ||
volume_windows.go |