Skip to content

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

[filebeat] Elasticsearch state storage for httpjson and cel inputs

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

Triggered via pull request January 8, 2025 14:05
Status Failure
Total duration 9m 24s
Artifacts

golangci-lint.yml

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

Annotations

11 errors and 8 warnings
lint (windows): filebeat/registrar/registrar.go#L144
Error return value is not checked (errcheck)
lint (windows): filebeat/registrar/registrar.go#L246
Error return value of `r.store.Remove` is not checked (errcheck)
lint (windows): filebeat/registrar/registrar.go#L283
error is not nil (line 279) but it returns nil (nilerr)
lint (windows): libbeat/statestore/mock_test.go#L42
Error return value is not checked (errcheck)
lint (windows): libbeat/statestore/storetest/storetest.go#L144
`occured` is a misspelling of `occurred` (misspell)
lint (windows): x-pack/filebeat/tests/integration/managerV2_test.go#L844
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
lint (windows): x-pack/filebeat/tests/integration/managerV2_test.go#L991
use of `fmt.Println` forbidden by pattern `fmt.Print.*` (forbidigo)
lint (windows): x-pack/filebeat/tests/integration/managerV2_test.go#L994
use of `fmt.Printf` forbidden by pattern `fmt.Print.*` (forbidigo)
lint (windows)
issues found
lint (linux)
The job was canceled because "windows" failed.
lint (linux)
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 (windows)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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']
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']