moby--moby/volume
Sebastiaan van Stijn 7e907e29a3
volume/local.New() always unmount existing mounts
Unmounting does not depend on wether or not loading options failed.

This code-path seemed to be used as a "hack" to prevent hitting the
unmount on Windows (which does not support unmounting).

Moving it outside of the "if" to make more clear that it's independent
of loading the options.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-06-03 00:34:27 +02:00
..
drivers reformat "nolint" comments 2021-06-10 13:03:42 +02:00
local volume/local.New() always unmount existing mounts 2022-06-03 00:34:27 +02:00
mounts all: replace strings.Replace with strings.ReplaceAll 2022-05-09 19:45:40 +08:00
service fix unclosed file-handles in tests 2022-05-31 21:53:38 +02:00
testutils Fix flaky test TestServiceGet 2018-06-20 22:38:29 +03:00
volume.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00