Skip to content

Update Beats to the current Sarama fork #25188

Update Beats to the current Sarama fork

Update Beats to the current Sarama fork #25188

Triggered via pull request November 22, 2024 18:53
Status Failure
Total duration 8m 55s
Artifacts

golangci-lint.yml

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

Annotations

8 errors and 6 warnings
lint (linux): libbeat/outputs/kafka/partition.go#L132
error is not nil (line 130) but it returns nil (nilerr)
lint (linux): metricbeat/module/kafka/consumergroup/consumergroup_integration_test.go#L103
SA1019: sarama.BalanceStrategyRange is deprecated: use NewBalanceStrategyRange to avoid data race issue (staticcheck)
lint (linux): metricbeat/module/kafka/consumergroup/consumergroup_integration_test.go#L139
use of `fmt.Println` forbidden by pattern `fmt.Print.*` (forbidigo)
lint (linux): metricbeat/module/kafka/consumergroup/consumergroup_integration_test.go#L145
use of `fmt.Println` forbidden by pattern `fmt.Print.*` (forbidigo)
lint (linux): metricbeat/module/kafka/consumergroup/consumergroup_integration_test.go#L152
use of `fmt.Printf` forbidden by pattern `fmt.Print.*` (forbidigo)
lint (linux)
issues found
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']