Skip to content

Commit 0d2844f

Browse files
authored
Merge pull request kubernetes#88666 from ingvagabund/scheduler-perf-do-not-override-throughput-labes
scheduler_perf: do not override throughput labels
2 parents 0046b4c + 5b3b4de commit 0d2844f

File tree

1 file changed

+1
-3
lines changed
  • test/integration/scheduler_perf

1 file changed

+1
-3
lines changed

test/integration/scheduler_perf/util.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,7 @@ func (tc *throughputCollector) collect() []DataItem {
243243
sum += tc.schedulingThroughputs[i]
244244
}
245245

246-
throughputSummary.Labels = map[string]string{
247-
"Metric": "SchedulingThroughput",
248-
}
246+
throughputSummary.Labels["Metric"] = "SchedulingThroughput"
249247
throughputSummary.Data = map[string]float64{
250248
"Average": sum / float64(length),
251249
"Perc50": tc.schedulingThroughputs[int(math.Ceil(float64(length*50)/100))-1],

0 commit comments

Comments
 (0)