diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-26 08:38:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-26 08:38:33 -0400 |
commit | ace6672bf1a9b011a3c414783496668b5f27f3eb (patch) | |
tree | 90dc8797ae609979958867f6ac2ede95e2d46e4f /cmd/podman | |
parent | b3416d3292691788097389b8f41a632c56a926fa (diff) | |
parent | b0d36f63513ee64fa1c1eff4d1045a7633804f12 (diff) | |
download | podman-ace6672bf1a9b011a3c414783496668b5f27f3eb.tar.gz podman-ace6672bf1a9b011a3c414783496668b5f27f3eb.tar.bz2 podman-ace6672bf1a9b011a3c414783496668b5f27f3eb.zip |
Merge pull request #13908 from n1hility/win-mounts
Implement Windows volume/mount support
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/common/create_opts.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common/create_opts.go b/cmd/podman/common/create_opts.go index 7b7626040..16f193b03 100644 --- a/cmd/podman/common/create_opts.go +++ b/cmd/podman/common/create_opts.go @@ -347,7 +347,7 @@ func ContainerCreateToContainerCLIOpts(cc handlers.CreateContainerConfig, rtc *c cliOpts.Volume = append(cliOpts.Volume, vol) // Extract the destination so we don't add duplicate mounts in // the volumes phase. - splitVol := strings.SplitN(vol, ":", 3) + splitVol := specgen.SplitVolumeString(vol) switch len(splitVol) { case 1: volDestinations[vol] = true |