Skip to content

[7.17](backport #42992) filebeat: make deep copy before notifying of config change #28586

[7.17](backport #42992) filebeat: make deep copy before notifying of config change

[7.17](backport #42992) filebeat: make deep copy before notifying of config change #28586

Triggered via pull request March 6, 2025 12:28
Status Failure
Total duration 8m 10s
Artifacts

golangci-lint.yml

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

Annotations

23 errors and 6 warnings
lint (darwin): filebeat/beater/filebeat.go#L378
expected statement, found '<<' (typecheck)
lint (darwin): filebeat/beater/filebeat.go#L415
expected statement, found '>>' (typecheck)
lint (darwin): libbeat/statestore/backend/es/store.go#L1
: # github.com/elastic/beats/v7/libbeat/statestore/backend/es
lint (darwin): libbeat/statestore/backend/es/store.go#L52
undefined: Notifier
lint (darwin): libbeat/statestore/backend/es/store.go#L64
undefined: Notifier
lint (darwin): libbeat/statestore/backend/es/store.go#L139
undefined: ErrKeyUnknown
lint (darwin): libbeat/statestore/backend/es/store.go#L162
undefined: ErrKeyUnknown
lint (darwin): libbeat/statestore/backend/es/store.go#L309
too many arguments in call to eslegclient.NewConnectedClient
lint (darwin): libbeat/statestore/backend/es/store.go#L324
undefined: UnsubscribeFunc (typecheck)
lint (darwin)
issues found
lint (linux)
The job was canceled because "darwin" failed.
lint (linux)
The operation was canceled.
lint (windows)
The job was canceled because "darwin" failed.
lint (windows): filebeat/beater/filebeat.go#L378
expected statement, found '<<' (typecheck)
lint (windows): filebeat/beater/filebeat.go#L415
expected statement, found '>>' (typecheck)
lint (windows): libbeat/statestore/backend/es/store.go#L1
: # github.com/elastic/beats/v7/libbeat/statestore/backend/es
lint (windows): libbeat/statestore/backend/es/store.go#L52
undefined: Notifier
lint (windows): libbeat/statestore/backend/es/store.go#L64
undefined: Notifier
lint (windows): libbeat/statestore/backend/es/store.go#L139
undefined: ErrKeyUnknown
lint (windows): libbeat/statestore/backend/es/store.go#L162
undefined: ErrKeyUnknown
lint (windows): libbeat/statestore/backend/es/store.go#L309
too many arguments in call to eslegclient.NewConnectedClient
lint (windows): libbeat/statestore/backend/es/store.go#L324
undefined: UnsubscribeFunc (typecheck)
lint (windows)
issues found
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']