From 34572abc707f2684cfcbfb64222497aeb842d662 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 18 Dec 2017 13:53:42 -0500 Subject: Vendor in latest storage, image and runtime-tools Need to pull in the latest containers/storage and containers/image to fix lots of issues. Also want to update runtime-tools to take advantage of newer generate code. Signed-off-by: Daniel J Walsh Closes: #152 Approved by: rhatdan --- cmd/podman/spec.go | 2 +- cmd/podman/spec_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') 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"}, -- cgit v1.2.3-54-g00ecf