diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-10-29 13:30:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-29 13:30:29 +0000 |
commit | 1305902ff40989099ffe13efd32458565cbc11c6 (patch) | |
tree | 3750a1ca50331ab7a0a9c84901ce8071f7894188 /pkg/specgen/generate/storage.go | |
parent | 584049325b4d04ec512ff9c2284cdd00b01c73d0 (diff) | |
parent | c5f0a5d788dafd94ea609b82d94cd089b30a7073 (diff) | |
download | podman-1305902ff40989099ffe13efd32458565cbc11c6.tar.gz podman-1305902ff40989099ffe13efd32458565cbc11c6.tar.bz2 podman-1305902ff40989099ffe13efd32458565cbc11c6.zip |
Merge pull request #12127 from vrothberg/bz-2014149
volumes: be more tolerant and fix infinite loop
Diffstat (limited to 'pkg/specgen/generate/storage.go')
-rw-r--r-- | pkg/specgen/generate/storage.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/specgen/generate/storage.go b/pkg/specgen/generate/storage.go index 3fde1a1b4..30248a886 100644 --- a/pkg/specgen/generate/storage.go +++ b/pkg/specgen/generate/storage.go @@ -214,9 +214,6 @@ func getImageVolumes(ctx context.Context, img *libimage.Image, s *specgen.SpecGe } for volume := range inspect.Config.Volumes { logrus.Debugf("Image has volume at %q", volume) - if err = parse.ValidateVolumeCtrDir(volume); err != nil { - return nil, nil, err - } cleanDest := filepath.Clean(volume) switch mode { case "", "anonymous": |