mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
cleanup: log message typo fix
This commit is contained in:
parent
c5787856b9
commit
f0b18f74b7
@ -70,7 +70,7 @@ func findDiskByLun(lun int, iohandler ioHandler, exec mount.Exec) (string, error
|
||||
continue
|
||||
}
|
||||
|
||||
klog.V(4).Infof("found a disk, locatin: %q, lun: %q", location, arr[arrLen-1])
|
||||
klog.V(4).Infof("found a disk, location: %q, lun: %q", location, arr[arrLen-1])
|
||||
//last element of location field is LUN number, e.g.
|
||||
// "location": "Integrated : Adapter 3 : Port 0 : Target 0 : LUN 1"
|
||||
l, err := strconv.Atoi(arr[arrLen-1])
|
||||
@ -80,7 +80,7 @@ func findDiskByLun(lun int, iohandler ioHandler, exec mount.Exec) (string, error
|
||||
}
|
||||
|
||||
if l == lun {
|
||||
klog.V(4).Infof("found a disk and lun, locatin: %q, lun: %d", location, lun)
|
||||
klog.V(4).Infof("found a disk and lun, location: %q, lun: %d", location, lun)
|
||||
if d, ok := v["number"]; ok {
|
||||
if diskNum, ok := d.(float64); ok {
|
||||
klog.V(2).Infof("azureDisk Mount: got disk number(%d) by LUN(%d)", int(diskNum), lun)
|
||||
|
Loading…
Reference in New Issue
Block a user