mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
Fix typo unmount for klog
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user