Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup: log message typo fix #80844

Merged
merged 1 commit into from Aug 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/volume/azure_dd/azure_common_windows.go
Expand Up @@ -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])
Expand All @@ -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)
Expand Down