moby/volume/local
Sebastiaan van Stijn eecf7a0840
volume/local: localVolume.mount() move errors.Wrap()
While the current code is correct (as errors.Wrap() returns nil if
err is nil), relying on this behavior has caused some confusion in
the past, resulting in regressions.

This patch makes the error-handling code slightly more idiomatic and
defensive against such regressions.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-06-03 00:34:16 +02:00
..
local.go Merge pull request #43597 from shoeffner/43596-mask-cifs-passwords 2022-05-19 22:52:26 +02:00
local_linux_test.go volume/local: add test for validation 2022-06-03 00:34:08 +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: localVolume.mount() move errors.Wrap() 2022-06-03 00:34:16 +02:00
local_windows.go volume/local: remove redundant Root.scopedPath(), Root.scope 2022-05-13 00:34:08 +02:00