Cleanup UnmountPath/UnmountMountPoint callers
This commit is contained in:
@@ -294,7 +294,7 @@ func (c *nfsUnmounter) TearDownAt(dir string) error {
|
||||
// Use extensiveMountPointCheck to consult /proc/mounts. We can't use faster
|
||||
// IsLikelyNotMountPoint (lstat()), since there may be root_squash on the
|
||||
// NFS server and kubelet may not be able to do lstat/stat() there.
|
||||
return util.UnmountMountPoint(dir, c.mounter, true /* extensiveMountPointCheck */)
|
||||
return mount.CleanupMountPoint(dir, c.mounter, true /* extensiveMountPointCheck */)
|
||||
}
|
||||
|
||||
func getVolumeSource(spec *volume.Spec) (*v1.NFSVolumeSource, bool, error) {
|
||||
|
Reference in New Issue
Block a user