Limitador sort function refactor #2943
code-style.yaml
on: pull_request
Lint
2m 0s
Matrix: Auto-format and Check
Annotations
16 errors and 7 warnings
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)
|
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)
|
Lint:
controllers/event_logger.go#L40
increment-decrement: should replace eventType[event.EventType.String()] += 1 with eventType[event.EventType.String()]++ (revive)
|
Lint:
pkg/ratelimit/index.go#L169
SA4014: this condition occurs multiple times in this if/else if chain (staticcheck)
|
Lint:
pkg/ratelimit/index.go#L183
SA4014: this condition occurs multiple times in this if/else if chain (staticcheck)
|
Lint
Process completed with exit code 2.
|
Lint:
pkg/ratelimit/index_test.go#L145
"defualt" is a misspelling of "default"
|
Lint:
pkg/ratelimit/index_test.go#L152
"defualt" is a misspelling of "default"
|
Lint:
pkg/ratelimit/index_test.go#L159
"defualt" is a misspelling of "default"
|
Lint:
pkg/ratelimit/index_test.go#L166
"defualt" is a misspelling of "default"
|
Lint:
pkg/ratelimit/index_test.go#L173
"defualt" is a misspelling of "default"
|
Lint:
pkg/ratelimit/index_test.go#L180
"defualt" is a misspelling of "default"
|
Lint:
pkg/ratelimit/index_test.go#L187
"defualt" is a misspelling of "default"
|
Lint:
pkg/ratelimit/index_test.go#L195
"defualt" is a misspelling of "default"
|
Lint:
pkg/ratelimit/index_test.go#L202
"defualt" is a misspelling of "default"
|
Lint:
pkg/ratelimit/index_test.go#L209
"defualt" is a misspelling of "default"
|
Auto-format and Check (gofmt)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Auto-format and Check (gofmt)
Restore cache failed: Dependencies file is not found in /home/runner/work/kuadrant-operator/kuadrant-operator. Supported file pattern: go.sum
|
Auto-format and Check (goimports)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Auto-format and Check (goimports)
Restore cache failed: Dependencies file is not found in /home/runner/work/kuadrant-operator/kuadrant-operator. Supported file pattern: go.sum
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/kuadrant-operator/kuadrant-operator. Supported file pattern: go.sum
|
Lint
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/
|