Clean up / document metrics monitor fields #19741
Annotations
5 errors and 3 warnings
golangci-lint:
libbeat/esleg/eslegclient/bulkapi.go#L26
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
golangci-lint:
libbeat/monitoring/report/elasticsearch/client.go#L174
directive `//nolint:typecheck // typecheck linter is buggy and thinks opType is unused.` is unused for linter "typecheck" (nolintlint)
|
golangci-lint:
libbeat/publisher/event.go#L81
directive `//nolint:typecheck // Nil checks are ok here` is unused for linter "typecheck" (nolintlint)
|
golangci-lint:
libbeat/publisher/event.go#L92
directive `//nolint:typecheck // Nil checks are ok here` is unused for linter "typecheck" (nolintlint)
|
golangci-lint
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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