moby--moby/volume
Boaz Shuster 62143af543 Small nitpick: create ErrVolumeTargetIsRoot in the volume package
Both lcow_parser.go and linux_parser.go are duplicating the error:
"invalid specification: destination can't be '/'"

This commit creates a new error called "ErrVolumeTargetIsRoot"
that is used by both linux_parser and lcow_parser and remove
the duplication in the code.

Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
2018-01-14 11:41:39 +00:00
..
drivers Fixup some issues with plugin refcounting 2017-10-21 15:17:57 -04:00
local Simplify/fix MkdirAll usage 2017-11-27 17:32:12 -08:00
store modify log in order to be same below 2017-11-27 08:43:05 +08:00
testutils Replace vol plugin integration test w/ unit test 2017-11-15 13:13:22 -05:00
lcow_parser.go Small nitpick: create ErrVolumeTargetIsRoot in the volume package 2018-01-14 11:41:39 +00:00
linux_parser.go Small nitpick: create ErrVolumeTargetIsRoot in the volume package 2018-01-14 11:41:39 +00:00
parser.go Small nitpick: create ErrVolumeTargetIsRoot in the volume package 2018-01-14 11:41:39 +00:00
validate.go Volume refactoring for LCOW 2017-09-14 12:33:31 -07:00
validate_test.go Re-validate Mounts on container start 2017-12-19 11:44:29 +01:00
validate_unix_test.go Add deadcode linter 2017-08-21 18:18:50 -04:00
validate_windows_test.go Add deadcode linter 2017-08-21 18:18:50 -04:00
volume.go Simplify/fix MkdirAll usage 2017-11-27 17:32:12 -08:00
volume_copy.go Volume refactoring for LCOW 2017-09-14 12:33:31 -07:00
volume_test.go Volume refactoring for LCOW 2017-09-14 12:33:31 -07:00
volume_unix.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
volume_windows.go Volume refactoring for LCOW 2017-09-14 12:33:31 -07:00
windows_parser.go Re-validate Mounts on container start 2017-12-19 11:44:29 +01:00