mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +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>"
|
||||
for i := 0; i < len(MeasuredResources); i++ {
|
||||
printValue(out, unknownMetricsStatus)
|
||||
printValue(out, "\t")
|
||||
printValue(out, unknownMetricsStatus)
|
||||
printValue(out, "\t")
|
||||
}
|
||||
fmt.Fprint(out, "\n")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user