summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-30 19:04:35 +0100
committerGitHub <noreply@github.com>2020-11-30 19:04:35 +0100
commit9f2c8f267e22897719ee8c3a15202afeaedda547 (patch)
treeea0e985d3f50d389b33fdb403d240e817251fd8c /pkg
parentfc85ec942ee3273f5ad56381a0f6b9e78aea59bf (diff)
parent84e8b2afa795ca060f4d2c5206f47d320292ed9b (diff)
downloadpodman-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')
-rw-r--r--pkg/specgen/volumes.go1
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 {