Limitador sort function refactor #2943
Annotations
16 errors and 3 warnings
Go Lint:
pkg/ratelimit/index.go#L165
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Go Lint:
pkg/ratelimit/index.go#L179
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Go Lint:
controllers/event_logger.go#L40
increment-decrement: should replace eventType[event.EventType.String()] += 1 with eventType[event.EventType.String()]++ (revive)
|
Go Lint:
pkg/ratelimit/index.go#L169
SA4014: this condition occurs multiple times in this if/else if chain (staticcheck)
|
Go Lint:
pkg/ratelimit/index.go#L183
SA4014: this condition occurs multiple times in this if/else if chain (staticcheck)
|
Go Lint
Process completed with exit code 2.
|
misspell:
pkg/ratelimit/index_test.go#L145
"defualt" is a misspelling of "default"
|
misspell:
pkg/ratelimit/index_test.go#L152
"defualt" is a misspelling of "default"
|
misspell:
pkg/ratelimit/index_test.go#L159
"defualt" is a misspelling of "default"
|
misspell:
pkg/ratelimit/index_test.go#L166
"defualt" is a misspelling of "default"
|
misspell:
pkg/ratelimit/index_test.go#L173
"defualt" is a misspelling of "default"
|
misspell:
pkg/ratelimit/index_test.go#L180
"defualt" is a misspelling of "default"
|
misspell:
pkg/ratelimit/index_test.go#L187
"defualt" is a misspelling of "default"
|
misspell:
pkg/ratelimit/index_test.go#L195
"defualt" is a misspelling of "default"
|
misspell:
pkg/ratelimit/index_test.go#L202
"defualt" is a misspelling of "default"
|
misspell:
pkg/ratelimit/index_test.go#L209
"defualt" is a misspelling of "default"
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Set up Go 1.22.x
Restore cache failed: Dependencies file is not found in /home/runner/work/kuadrant-operator/kuadrant-operator. Supported file pattern: go.sum
|
Run andstor/file-existence-action@v1
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading