Skip to content

Commit

Permalink
fix lints again
Browse files Browse the repository at this point in the history
  • Loading branch information
ritwikranjan committed Feb 12, 2025
1 parent 00f00cc commit 2201c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/scenarios/perf/get-perf-regression-results.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (v *GetNetworkDeltaResults) Run() error {
}
}

var results []DeltaResult = make([]DeltaResult, 0)
var results []DeltaResult = make([]DeltaResult, 0, 12)

Check failure on line 122 in test/e2e/scenarios/perf/get-perf-regression-results.go

View workflow job for this annotation

GitHub Actions / Lint (linux, amd64)

Consider pre-allocating `results` (prealloc)

Check failure on line 122 in test/e2e/scenarios/perf/get-perf-regression-results.go

View workflow job for this annotation

GitHub Actions / Lint (linux, arm64)

Consider pre-allocating `results` (prealloc)

Check failure on line 122 in test/e2e/scenarios/perf/get-perf-regression-results.go

View workflow job for this annotation

GitHub Actions / Lint (windows, amd64)

Consider pre-allocating `results` (prealloc)

Check failure on line 122 in test/e2e/scenarios/perf/get-perf-regression-results.go

View workflow job for this annotation

GitHub Actions / Lint (windows, arm64)

Consider pre-allocating `results` (prealloc)
for _, result := range regressionResults {
results = append(results, *result)
}
Expand Down

0 comments on commit 2201c0f

Please sign in to comment.