Skip to content

.../input/entityanalytics/provider/okta: Handle 429s, concurrent limits #26101

.../input/entityanalytics/provider/okta: Handle 429s, concurrent limits

.../input/entityanalytics/provider/okta: Handle 429s, concurrent limits #26101

Triggered via pull request December 17, 2024 19:29
Status Failure
Total duration 8m 11s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta.go#L411
Error return value of `io.Copy` is not checked (errcheck)
lint (linux): 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)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L87
Error return value of `r.Wait` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L130
Error return value of `r.Wait` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L131
Error return value of `r.Update` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L145
ST1023: should omit type int from declaration; it will be inferred from the right-hand side (stylecheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L181
assigned to e, but reassigned without using the value (wastedassign)
lint (linux)
issues found
lint (windows)
The job was canceled because "linux" failed.
lint (windows)
The operation was canceled.
lint (darwin)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (darwin)
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']
lint (darwin)
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']
lint (linux)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (linux)
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']
lint (linux)
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']
lint (windows)
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']
lint (windows)
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']