mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
review: s/<unknown>/-/
This commit is contained in:
parent
dc2184f69f
commit
64ec40092d
@ -179,8 +179,12 @@ func printMetricsLine(out io.Writer, metrics *ResourceMetricsInfo) {
|
|||||||
|
|
||||||
func printMissingMetricsNodeLine(out io.Writer, nodeName string) {
|
func printMissingMetricsNodeLine(out io.Writer, nodeName string) {
|
||||||
printValue(out, nodeName)
|
printValue(out, nodeName)
|
||||||
|
unknownMetricsStatus := "<unknown>"
|
||||||
for i := 0; i < len(MeasuredResources); i++ {
|
for i := 0; i < len(MeasuredResources); i++ {
|
||||||
printValue(out, "-\t-\t")
|
printValue(out, unknownMetricsStatus)
|
||||||
|
printValue(out, "\t")
|
||||||
|
printValue(out, unknownMetricsStatus)
|
||||||
|
printValue(out, "\t")
|
||||||
}
|
}
|
||||||
fmt.Fprint(out, "\n")
|
fmt.Fprint(out, "\n")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user