Minor doc edit to add clarity around the --volume path format
Also add a comment to the ValidatePath func so devs/reviewers
know exactly what its looking for.
Signed-off-by: Doug Davis <dug@us.ibm.com>
Upstream-commit: d1be0bd11e
Component: cli
This commit is contained in:
committed by
Vincent Demeester
parent
74a2061e32
commit
82d0cb3f4b
@ -193,6 +193,8 @@ func ValidateLink(val string) (string, error) {
|
||||
return val, nil
|
||||
}
|
||||
|
||||
// ValidatePath will make sure 'val' is in the form:
|
||||
// [host-dir:]container-path[:rw|ro] - but doesn't validate the mode part
|
||||
func ValidatePath(val string) (string, error) {
|
||||
var containerPath string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user