diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-04 13:34:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-04 13:34:41 +0200 |
commit | 8942a60bb012d2aa83f7d4ab1c05ec8e46df48a6 (patch) | |
tree | c80e70f956eb155abfd7785c78b48f52950d37f5 /pkg | |
parent | e136bcc7c97ed9a7576417259cf93f7209f45dd2 (diff) | |
parent | da57065abdcac276fd922b3e736517c9384ec20e (diff) | |
download | podman-8942a60bb012d2aa83f7d4ab1c05ec8e46df48a6.tar.gz podman-8942a60bb012d2aa83f7d4ab1c05ec8e46df48a6.tar.bz2 podman-8942a60bb012d2aa83f7d4ab1c05ec8e46df48a6.zip |
Merge pull request #15582 from dfr/freebsd-bind
Add support for FreeBSD volume mounts in specgen
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/specgen/volumes.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/specgen/volumes.go b/pkg/specgen/volumes.go index e70ed5b13..e71d14331 100644 --- a/pkg/specgen/volumes.go +++ b/pkg/specgen/volumes.go @@ -7,6 +7,7 @@ import ( "strings" "github.com/containers/common/pkg/parse" + "github.com/containers/podman/v4/libpod/define" spec "github.com/opencontainers/runtime-spec/specs-go" "github.com/sirupsen/logrus" ) @@ -159,7 +160,7 @@ func GenVolumeMounts(volumeFlag []string) (map[string]spec.Mount, map[string]*Na } else { newMount := spec.Mount{ Destination: dest, - Type: "bind", + Type: define.TypeBind, Source: src, Options: options, } |