mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-08 22:33:22 +00:00
Merge pull request #105121 from wujiangfa-xlauncher/master
fix top node output format incorrect
This commit is contained in:
@@ -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")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user