1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/volume/local
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
..
local.go volume/local.Create(): validate early 2022-06-03 00:34:21 +02:00
local_linux_test.go volume/local.Create(): validate early 2022-06-03 00:34:21 +02:00
local_test.go volume: mask password in cifs mount error messages 2022-05-14 02:45:06 +02:00
local_unix.go volume/local.Create(): validate early 2022-06-03 00:34:21 +02:00
local_windows.go volume/local.Create(): validate early 2022-06-03 00:34:21 +02:00