3b2e22c98e7f509d390987d5851ea7bc219a201c
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> Upstream-commit: 62143af5437a29d4b95f971d1905cfef763b0847 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%