Skip to content

Commit 32fd0de

Browse files
committed
tweak
1 parent 8e4b00e commit 32fd0de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/scheduler_perf/scheduler_perf.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,7 +1672,7 @@ func (e *WorkloadExecutor) runCreatePodsOp(opIndex int, op *createPodsOp) error
16721672

16731673
if op.CollectMetrics {
16741674
if e.collectorCtx != nil {
1675-
return fmt.Errorf("Metrics collection is overlapping. Probably second collector was started before stopping a previous one")
1675+
return fmt.Errorf("metrics collection is overlapping. Probably second collector was started before stopping a previous one")
16761676
}
16771677
var err error
16781678
e.collectorCtx, e.collectors, err = startCollectingMetrics(e.tCtx, &e.collectorWG, e.podInformer, e.testCase.MetricsCollectorConfig, e.throughputErrorMargin, opIndex, namespace, []string{namespace}, nil)
@@ -1886,7 +1886,7 @@ func (e *WorkloadExecutor) runDefaultOp(opIndex int, op realOp) error {
18861886

18871887
func (e *WorkloadExecutor) runStartCollectingMetricsOp(opIndex int, op *startCollectingMetricsOp) error {
18881888
if e.collectorCtx != nil {
1889-
return fmt.Errorf("Metrics collection is overlapping. Probably second collector was started before stopping a previous one")
1889+
return fmt.Errorf("metrics collection is overlapping. Probably second collector was started before stopping a previous one")
18901890
}
18911891
var err error
18921892
e.collectorCtx, e.collectors, err = startCollectingMetrics(e.tCtx, &e.collectorWG, e.podInformer, e.testCase.MetricsCollectorConfig, e.throughputErrorMargin, opIndex, op.Name, op.Namespaces, op.LabelSelector)

0 commit comments

Comments
 (0)