Pass FsGroup to MountDevice

This commit is contained in:
Cheng Xing
2021-06-23 19:37:03 -07:00
parent ae5668edef
commit 0e315355df
20 changed files with 31 additions and 24 deletions

View File

@@ -281,7 +281,7 @@ func doTestPlugin(t *testing.T, c *testcase) {
if deviceMountPath != c.expectedDeviceMountPath {
t.Errorf("Unexpected mount path, expected %q, not: %q", c.expectedDeviceMountPath, deviceMountPath)
}
err = attacher.MountDevice(c.spec, devicePath, deviceMountPath)
err = attacher.MountDevice(c.spec, devicePath, deviceMountPath, volume.DeviceMounterArgs{})
if err != nil {
t.Fatal(err)
}