fix top node output format incorrect
#105112 Kubernetes-commit: e838017f11dae4bc1c0a12c9703d0153661bd27d
This commit is contained in:
parent
b81892cba3
commit
cadea4d691
|
@ -279,9 +279,7 @@ func printMissingMetricsNodeLine(out io.Writer, nodeName string) {
|
||||||
unknownMetricsStatus := "<unknown>"
|
unknownMetricsStatus := "<unknown>"
|
||||||
for i := 0; i < len(MeasuredResources); i++ {
|
for i := 0; i < len(MeasuredResources); i++ {
|
||||||
printValue(out, unknownMetricsStatus)
|
printValue(out, unknownMetricsStatus)
|
||||||
printValue(out, "\t")
|
|
||||||
printValue(out, unknownMetricsStatus)
|
printValue(out, unknownMetricsStatus)
|
||||||
printValue(out, "\t")
|
|
||||||
}
|
}
|
||||||
fmt.Fprint(out, "\n")
|
fmt.Fprint(out, "\n")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue