Merge pull request #96581 from qingsenLi/201114-unmount

Fix typo unmount for klog
This commit is contained in:
Kubernetes Prow Robot 2020-12-08 17:29:27 -08:00 committed by GitHub
commit 4a4bdb0169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ func (detacher *rbdDetacher) UnmountDevice(deviceMountPath string) error {
if err = detacher.mounter.Unmount(deviceMountPath); err != nil {
return err
}
klog.V(3).Infof("rbd: successfully umount device mountpath %s", deviceMountPath)
klog.V(3).Infof("rbd: successfully unmount device mountpath %s", deviceMountPath)
}
// Get devicePath from deviceMountPath if devicePath is empty

View File

@ -116,7 +116,7 @@ func diskTearDown(manager diskManager, c rbdUnmounter, volPath string, mounter m
// Unmount the bind-mount inside this pod.
if err := mounter.Unmount(volPath); err != nil {
klog.Errorf("failed to umount %s", volPath)
klog.Errorf("failed to unmount %s", volPath)
return err
}