Fix some golangci-lint errors #26921
Annotations
3 errors and 3 warnings
golangci-lint:
filebeat/registrar/registrar.go#L116
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
golangci-lint:
libbeat/statestore/error.go#L87
S1008: should use 'return errors.As(err, &tmp)' instead of 'if errors.As(err, &tmp) { return true }; return false' (gosimple)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Post golangci-lint
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']
|
golangci-lint
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']
|
Loading