1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/volume
Sebastiaan van Stijn 29c6224fe9
volume/local.Create(): validate early
This moves validation of options to the start of the Create function
to prevent hitting the filesystem and having to remove the volume
from disk.

Also addressing some minor nits w.r.t. errors.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-06-03 00:34:21 +02:00
..
drivers reformat "nolint" comments 2021-06-10 13:03:42 +02:00
local volume/local.Create(): validate early 2022-06-03 00:34:21 +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