diff options
author | Jakub Guzik <jakubmguzik@gmail.com> | 2021-03-07 12:02:54 +0100 |
---|---|---|
committer | Jakub Guzik <jakubmguzik@gmail.com> | 2021-03-07 12:03:34 +0100 |
commit | 1a33b764893cec16d9648ee008d7c41cc9482106 (patch) | |
tree | 59ecd8668b089dd02dd75af4fd823b4b24f65a71 /pkg/specgen/generate/oci.go | |
parent | e4da5096ba47477597925793e5d5b666c9652c09 (diff) | |
download | podman-1a33b764893cec16d9648ee008d7c41cc9482106.tar.gz podman-1a33b764893cec16d9648ee008d7c41cc9482106.tar.bz2 podman-1a33b764893cec16d9648ee008d7c41cc9482106.zip |
replace local mount consts with libpod/define
Signed-off-by: Jakub Guzik <jakubmguzik@gmail.com>
Diffstat (limited to 'pkg/specgen/generate/oci.go')
-rw-r--r-- | pkg/specgen/generate/oci.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/generate/oci.go b/pkg/specgen/generate/oci.go index eb4dbc944..4eae09a5e 100644 --- a/pkg/specgen/generate/oci.go +++ b/pkg/specgen/generate/oci.go @@ -277,7 +277,7 @@ func SpecGenToOCI(ctx context.Context, s *specgen.SpecGenerator, rt *libpod.Runt g.RemoveMount("/proc") procMount := spec.Mount{ Destination: "/proc", - Type: TypeBind, + Type: define.TypeBind, Source: "/proc", Options: []string{"rbind", "nosuid", "noexec", "nodev"}, } |