Skip to content

Commit

Permalink
Fix missing annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat15 committed Sep 10, 2024
1 parent efd1869 commit 74043c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/v1/experimental_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func constBatch(size int) func() int {
}
}

func randomBatch(min, max int) func() int {
func randomBatch(min int, max int) func() int {

Check failure on line 120 in internal/services/v1/experimental_test.go

View workflow job for this annotation

GitHub Actions / Lint Go

param min has same name as predeclared identifier (predeclared)
return func() int {
// nolint:gosec
// G404 use of non cryptographically secure random number generator is not a security concern here,
Expand Down

0 comments on commit 74043c7

Please sign in to comment.