Unverified Commit bdb7c24c authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #71243 from gnufied/fix-dummy-attachable-flex-driver

We do not pass device path to unmount device
parents c945cd39 1570f39d
......@@ -64,7 +64,7 @@ var _ = utils.SIGDescribe("Detaching volumes", func() {
})
It("should not work when mount is in progress", func() {
driver := "attachable-with-long-format"
driver := "attachable-with-long-mount"
driverInstallAs := driver + "-" + suffix
By(fmt.Sprintf("installing flexvolume %s on node %s as %s", path.Join(driverDir, driver), node.Name, driverInstallAs))
......
......@@ -81,8 +81,6 @@ domountdevice() {
unmountdevice() {
debug "unmountdevice $@"
MNTDEVICE=$2
validateMountDeviceOrDie "$MNTDEVICE" "unmountdevice"
MNTPATH=$1
rm "${MNTPATH}/index.html" >/dev/null 2>&1
umount ${MNTPATH} >/dev/null 2>&1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment