Fix typo unmount for klog

This commit is contained in:
10177505 2020-11-14 11:32:39 +08:00
parent a7ae99d364
commit 7531e2a311
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
}