mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Fix typo unmount for klog
This commit is contained in:
parent
a7ae99d364
commit
7531e2a311
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user