Skip to content

[8.x](backport #41505) [filebeat][gcs] - Added input metrics #24959

[8.x](backport #41505) [filebeat][gcs] - Added input metrics

[8.x](backport #41505) [filebeat][gcs] - Added input metrics #24959

Triggered via pull request November 18, 2024 15:38
Status Failure
Total duration 8m 33s
Artifacts

golangci-lint.yml

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

Annotations

10 errors and 6 warnings
lint (windows): x-pack/filebeat/input/gcs/input.go#L151
Error return value is not checked (errcheck)
lint (windows): x-pack/filebeat/input/gcs/input_stateless.go#L70
Error return value is not checked (errcheck)
lint (windows): x-pack/filebeat/input/gcs/job.go#L113
directive `//nolint:gosec // object size cannot be negative hence this conversion is safe` is unused for linter "gosec" (nolintlint)
lint (windows): x-pack/filebeat/input/gcs/job.go#L200
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (windows): x-pack/filebeat/input/gcs/job.go#L209
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (windows): x-pack/filebeat/input/gcs/job.go#L225
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (windows): x-pack/filebeat/input/gcs/job.go#L388
assigned to isStreamGzipped, but reassigned without using the value (wastedassign)
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']