Add config for ImageVolumesBind option
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
96ebf829c9
commit
7443263bd6
2 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,7 @@ func validateConfig(config *server.Config) error {
|
|||
switch config.ImageVolumes {
|
||||
case server.ImageVolumesMkdir:
|
||||
case server.ImageVolumesIgnore:
|
||||
case server.ImageVolumesBind:
|
||||
default:
|
||||
return fmt.Errorf("Unrecognized image volume type specified")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue