Skip to content

[filebeat] Elasticsearch state storage for httpjson and cel inputs #24653

[filebeat] Elasticsearch state storage for httpjson and cel inputs

[filebeat] Elasticsearch state storage for httpjson and cel inputs #24653

Triggered via pull request November 5, 2024 19:55
Status Failure
Total duration 8m 26s
Artifacts

golangci-lint.yml

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

Annotations

12 errors and 6 warnings
lint (linux): filebeat/input/filestream/environment_test.go#L421
Error return value is not checked (errcheck)
lint (linux): filebeat/input/filestream/environment_test.go#L423
Error return value is not checked (errcheck)
lint (linux): filebeat/registrar/registrar.go#L246
Error return value of `r.store.Remove` is not checked (errcheck)
lint (linux): filebeat/registrar/registrar.go#L283
error is not nil (line 279) but it returns nil (nilerr)
lint (linux): libbeat/statestore/backend/es/store.go#L271
ineffectual assignment to err (ineffassign)
lint (linux): libbeat/statestore/mock_test.go#L42
Error return value is not checked (errcheck)
lint (linux): libbeat/statestore/storetest/storetest.go#L144
`occured` is a misspelling of `occurred` (misspell)
lint (linux): x-pack/filebeat/input/awss3/states_test.go#L65
Error return value of `states.AddState` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/awss3/states_test.go#L72
Error return value of `states.AddState` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/awss3/states_test.go#L81
Error return value of `states.AddState` is not checked (errcheck)
lint (windows)
The job was canceled because "linux" failed.
lint (windows)
The operation was canceled.
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)
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']