Skip to content

Commit d30fec7

Browse files
authored
Implement Mount Fix
Signed-off-by: Antonio <[email protected]>
1 parent a36276f commit d30fec7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

libpod/common_test.go

+10-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,16 @@ func getTestContainer(id, name string, manager lock.Manager) (*Container, error)
2727
RootfsImageID: id,
2828
RootfsImageName: "testimg",
2929
StaticDir: "/does/not/exist/",
30-
Mounts: []string{"/does/not/exist"},
30+
Mounts: []define.InspectMount{
31+
{
32+
Type: "bind",
33+
Source: "/does/not/exist",
34+
Destination: "/does/not/exist",
35+
Mode: "",
36+
RW: true,
37+
Propagation: "rprivate",
38+
},
39+
},
3140
},
3241
ContainerMiscConfig: ContainerMiscConfig{
3342
LogPath: "/does/not/exist/",

0 commit comments

Comments
 (0)