.../input/entityanalytics/provider/okta: Rate limiting fix, improvements #25820
Annotations
10 errors and 3 warnings
golangci-lint:
x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta.go#L400
Error return value of `io.Copy` is not checked (errcheck)
|
golangci-lint:
x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta_test.go#L449
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
golangci-lint:
x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L86
Error return value of `r.Wait` is not checked (errcheck)
|
golangci-lint:
x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L129
Error return value of `r.Wait` is not checked (errcheck)
|
golangci-lint:
x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L130
Error return value of `r.Update` is not checked (errcheck)
|
golangci-lint:
x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L144
ST1023: should omit type int from declaration; it will be inferred from the right-hand side (stylecheck)
|
golangci-lint:
x-pack/filebeat/input/entityanalytics/provider/okta/okta.go#L481
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
golangci-lint:
x-pack/filebeat/input/entityanalytics/provider/okta/okta.go#L618
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
golangci-lint:
x-pack/filebeat/input/entityanalytics/provider/okta/okta.go#L647
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Post golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
|
golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
|
Loading