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>
This commit is contained in:
Родитель
292e38a144
Коммит
d1be0bd11e
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче