Skip to content

Commit 1146ea6

Browse files
committed
roachprod-microbench: remove unused error counter
Epic: None Release note: None
1 parent 4504acb commit 1146ea6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/cmd/roachprod-microbench/executor.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ func (e *executor) executeBenchmarks() error {
425425
}
426426

427427
// Execute commands.
428-
benchmarkErrorCount := 0
429428
logIndex := 0
430429
missingBenchmarks := make(map[benchmark]int, 0)
431430
failedBenchmarks := make(map[benchmark]int, 0)
@@ -467,7 +466,6 @@ func (e *executor) executeBenchmarks() error {
467466
executorError = errors.CombineErrors(executorError, errors.Wrap(err, "failed to post benchmark issue"))
468467
}
469468
}
470-
benchmarkErrorCount++
471469
logIndex++
472470
}
473471
if _, writeErr := report.analyticsOutput[benchmarkResponse.pkg].WriteString(

0 commit comments

Comments
 (0)