diff options
Diffstat (limited to 'pkg/specgen')
-rw-r--r-- | pkg/specgen/volumes.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/specgen/volumes.go b/pkg/specgen/volumes.go index d85d2bdd1..6bee43745 100644 --- a/pkg/specgen/volumes.go +++ b/pkg/specgen/volumes.go @@ -93,9 +93,6 @@ func GenVolumeMounts(volumeFlag []string) (map[string]spec.Mount, map[string]*Na return nil, nil, nil, errors.New("host directory cannot be empty") } } - if err := parse.ValidateVolumeCtrDir(dest); err != nil { - return nil, nil, nil, err - } cleanDest := filepath.Clean(dest) |