mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-21 01:26:28 +00:00
fix spelling error
This commit is contained in:
parent
f299473ce4
commit
e90b6b969e
@ -84,7 +84,7 @@ func NewIPerf(csvLine string) (*IPerfCSVResult, error) {
|
|||||||
}
|
}
|
||||||
csvLine = strings.Trim(csvLine, "\n")
|
csvLine = strings.Trim(csvLine, "\n")
|
||||||
slice := StrSlice(strings.Split(csvLine, ","))
|
slice := StrSlice(strings.Split(csvLine, ","))
|
||||||
// iperf 2.19+ reportes 15 fields, before it was just 9
|
// iperf 2.19+ reports 15 fields, before it was just 9
|
||||||
if len(slice) != 15 {
|
if len(slice) != 15 {
|
||||||
return nil, fmt.Errorf("incorrect fields in the output: %v (%v out of 15)", slice, len(slice))
|
return nil, fmt.Errorf("incorrect fields in the output: %v (%v out of 15)", slice, len(slice))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user