Skip to content

Migrate Netflow code to the logp logging library #27329

Migrate Netflow code to the logp logging library

Migrate Netflow code to the logp logging library #27329

Triggered via pull request February 3, 2025 16:03
Status Failure
Total duration 9m 50s
Artifacts

golangci-lint.yml

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

Annotations

7 errors and 6 warnings
lint (windows): x-pack/filebeat/input/netflow/decoder/decoder.go#L62
Error return value of `p.stop` is not checked (errcheck)
lint (windows): x-pack/filebeat/input/netflow/decoder/decoder.go#L70
`withing` is a misspelling of `within` (misspell)
lint (windows): x-pack/filebeat/input/netflow/decoder/ipfix/ipfix.go#L26
Error return value of `protocol.Registry.Register` is not checked (errcheck)
lint (windows): x-pack/filebeat/input/netflow/decoder/v9/decoder.go#L166
error is not nil (line 159) but it returns nil (nilerr)
lint (windows)
issues found
lint (linux)
The job was canceled because "windows" failed.
lint (linux)
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 (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']