mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #105121 from wujiangfa-xlauncher/master
fix top node output format incorrect
This commit is contained in:
commit
dac94e1c9e
@ -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
Block a user