summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/spec.go2
-rw-r--r--cmd/podman/spec_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/spec.go b/cmd/podman/spec.go
index adfdf7347..b13556d93 100644
--- a/cmd/podman/spec.go
+++ b/cmd/podman/spec.go
@@ -483,7 +483,7 @@ func (c *createConfig) GetVolumeMounts() ([]spec.Mount, error) {
}
}
if rootProp == "" {
- options = append(options, "rprivate")
+ options = append(options, "private")
}
m = append(m, spec.Mount{
diff --git a/cmd/podman/spec_test.go b/cmd/podman/spec_test.go
index 01e1a4ad3..586c09656 100644
--- a/cmd/podman/spec_test.go
+++ b/cmd/podman/spec_test.go
@@ -13,7 +13,7 @@ func TestCreateConfig_GetVolumeMounts(t *testing.T) {
Destination: "/foobar",
Type: "bind",
Source: "foobar",
- Options: []string{"ro", "rbind", "rprivate"},
+ Options: []string{"ro", "rbind", "private"},
}
config := createConfig{
Volumes: []string{"foobar:/foobar:ro"},