Merge pull request #105121 from wujiangfa-xlauncher/master
fix top node output format incorrect Kubernetes-commit: dac94e1c9ee31034d174815e287ba39fa67b2b72
This commit is contained in:
commit
8f64ba48a0
|
|
@ -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