diff --git a/test/integration/scheduler_perf/util.go b/test/integration/scheduler_perf/util.go index 6779ee18539..715d03d3b21 100644 --- a/test/integration/scheduler_perf/util.go +++ b/test/integration/scheduler_perf/util.go @@ -243,9 +243,7 @@ func (tc *throughputCollector) collect() []DataItem { sum += tc.schedulingThroughputs[i] } - throughputSummary.Labels = map[string]string{ - "Metric": "SchedulingThroughput", - } + throughputSummary.Labels["Metric"] = "SchedulingThroughput" throughputSummary.Data = map[string]float64{ "Average": sum / float64(length), "Perc50": tc.schedulingThroughputs[int(math.Ceil(float64(length*50)/100))-1],