diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-30 19:04:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 19:04:35 +0100 |
commit | 9f2c8f267e22897719ee8c3a15202afeaedda547 (patch) | |
tree | ea0e985d3f50d389b33fdb403d240e817251fd8c /pkg/specgen | |
parent | fc85ec942ee3273f5ad56381a0f6b9e78aea59bf (diff) | |
parent | 84e8b2afa795ca060f4d2c5206f47d320292ed9b (diff) | |
download | podman-9f2c8f267e22897719ee8c3a15202afeaedda547.tar.gz podman-9f2c8f267e22897719ee8c3a15202afeaedda547.tar.bz2 podman-9f2c8f267e22897719ee8c3a15202afeaedda547.zip |
Merge pull request #8420 from jortkoopmans/patch-1
[CI:DOCS] Update Tutorials.rst
Diffstat (limited to 'pkg/specgen')
-rw-r--r-- | pkg/specgen/volumes.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/specgen/volumes.go b/pkg/specgen/volumes.go index 41efee3b3..a4f42d715 100644 --- a/pkg/specgen/volumes.go +++ b/pkg/specgen/volumes.go @@ -84,6 +84,7 @@ func GenVolumeMounts(volumeFlag []string) (map[string]spec.Mount, map[string]*Na return nil, nil, nil, err } } + // Do not check source dir for anonymous volumes if len(splitVol) > 1 { if len(src) == 0 { |