Cleanup UnmountPath/UnmountMountPoint callers

This commit is contained in:
danielqsj
2019-01-07 13:24:59 +08:00
parent 8728ecc27d
commit d94cd822b7
24 changed files with 29 additions and 46 deletions

View File

@@ -321,7 +321,7 @@ func (c *azureFileUnmounter) TearDown() error {
}
func (c *azureFileUnmounter) TearDownAt(dir string) error {
return volutil.UnmountPath(dir, c.mounter)
return mount.CleanupMountPoint(dir, c.mounter, false)
}
func getVolumeSource(spec *volume.Spec) (string, bool, error) {