Log raw events to a separate log file #18867
Annotations
10 errors and 2 warnings
|
golangci-lint:
libbeat/outputs/kafka/client.go#L217
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
golangci-lint:
libbeat/outputs/kafka/client.go#L224
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
golangci-lint:
libbeat/outputs/kafka/client.go#L274
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
golangci-lint:
libbeat/outputs/kafka/client.go#L360
switch on an error will fail on wrapped errors. Use errors.Is to check for specific errors (errorlint)
|
golangci-lint:
libbeat/outputs/kafka/client.go#L415
S1002: should omit comparison to bool constant, can be simplified to `c.config.Net.TLS.Enable` (gosimple)
|
golangci-lint:
libbeat/outputs/redis/client.go#L321
G601: Implicit memory aliasing in for loop. (gosec)
|
golangci-lint:
libbeat/outputs/redis/client.go#L339
G601: Implicit memory aliasing in for loop. (gosec)
|
golangci-lint:
x-pack/filebeat/input/cel/input.go#L1163
directive `//nolint:typecheck // reset is used in recursive calls.` is unused for linter "typecheck" (nolintlint)
|
golangci-lint
issues found
|
Post golangci-lint
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']
|
golangci-lint
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']
|
Loading