eecf7a0840
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> |
||
---|---|---|
.. | ||
drivers | ||
local | ||
mounts | ||
service | ||
testutils | ||
volume.go |