Merge pull request #101495 from jingxu97/apr/cleanupmountpoint

Fix cleanupMountpoint issue for Windows
This commit is contained in:
Kubernetes Prow Robot
2021-04-27 05:51:37 -07:00
committed by GitHub

View File

@@ -122,6 +122,10 @@ func removePathIfNotMountPoint(mountPath string, mounter Interface, extensiveMou
}
if err != nil {
if os.IsNotExist(err) {
klog.V(4).Infof("%q does not exist", mountPath)
return true, nil
}
return notMnt, err
}