mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
2a5e85e2e8
Found a couple of places where pretty low level errors were never being wrapped with any sort of context. For example, if you try to create a local volume using some bad mount options, the kernel will return `invalid argument` when we try to mount it at container start. What would happen is a user would `docker run` with this volume and get an error like `Error response from daemon: invalid argument`. This uses github.com/pkg/errors to provide some context to the error message without masking the original error. Signed-off-by: Brian Goff <cpuguy83@gmail.com> |
||
---|---|---|
.. | ||
drivers | ||
local | ||
store | ||
testutils | ||
validate.go | ||
validate_test.go | ||
validate_test_unix.go | ||
validate_test_windows.go | ||
volume.go | ||
volume_copy.go | ||
volume_copy_unix.go | ||
volume_copy_windows.go | ||
volume_propagation_linux.go | ||
volume_propagation_linux_test.go | ||
volume_propagation_unsupported.go | ||
volume_test.go | ||
volume_unix.go | ||
volume_windows.go |