Merge pull request #72624 from danielqsj/clean_unmount

Cleanup callers of deprecated functions in volume/util
This commit is contained in:
Kubernetes Prow Robot
2019-01-28 23:06:20 -08:00
committed by GitHub
39 changed files with 65 additions and 88 deletions

View File

@@ -325,7 +325,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) {