@@ -343,7 +343,7 @@ func (c *csiAttacher) MountDevice(spec *volume.Spec, devicePath string, deviceMo
343
343
// clean up metadata
344
344
klog .Errorf (log ("attacher.MountDevice failed: %v" , err ))
345
345
if err := removeMountDir (c .plugin , deviceMountPath ); err != nil {
346
- klog .Error (log ("attacher.MountDevice failed to remove mount dir after errir [%s]: %v" , deviceMountPath , err ))
346
+ klog .Error (log ("attacher.MountDevice failed to remove mount dir after error [%s]: %v" , deviceMountPath , err ))
347
347
}
348
348
}
349
349
}()
@@ -584,7 +584,7 @@ func (c *csiAttacher) UnmountDevice(deviceMountPath string) error {
584
584
klog .Infof (log ("attacher.UnmountDevice STAGE_UNSTAGE_VOLUME capability not set. Skipping UnmountDevice..." ))
585
585
// Just delete the global directory + json file
586
586
if err := removeMountDir (c .plugin , deviceMountPath ); err != nil {
587
- return fmt .Errorf ("failed to clean up gloubal mount %s: %s" , dataDir , err )
587
+ return fmt .Errorf ("failed to clean up global mount %s: %s" , dataDir , err )
588
588
}
589
589
590
590
return nil
@@ -602,7 +602,7 @@ func (c *csiAttacher) UnmountDevice(deviceMountPath string) error {
602
602
603
603
// Delete the global directory + json file
604
604
if err := removeMountDir (c .plugin , deviceMountPath ); err != nil {
605
- return fmt .Errorf ("failed to clean up gloubal mount %s: %s" , dataDir , err )
605
+ return fmt .Errorf ("failed to clean up global mount %s: %s" , dataDir , err )
606
606
}
607
607
608
608
klog .V (4 ).Infof (log ("attacher.UnmountDevice successfully requested NodeStageVolume [%s]" , deviceMountPath ))
0 commit comments