Skip to content

fix(node_stats/data.go):修复es,当一个指标没有,整个node_stats指标集不上报 refs MONITOR-… #22

fix(node_stats/data.go):修复es,当一个指标没有,整个node_stats指标集不上报 refs MONITOR-…

fix(node_stats/data.go):修复es,当一个指标没有,整个node_stats指标集不上报 refs MONITOR-… #22

Triggered via pull request October 14, 2024 06:32
Status Failure
Total duration 7m 49s
Artifacts

golangci-lint.yml

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

Annotations

11 errors and 7 warnings
lint (windows): metricbeat/module/elasticsearch/node_stats/data.go#L22
File is not `goimports`-ed with -local github.com/elastic (goimports)
lint (windows): metricbeat/module/elasticsearch/node_stats/data.go#L385
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
lint (windows)
issues found
lint (linux)
The job was canceled because "windows" failed.
lint (linux): metricbeat/module/elasticsearch/node_stats/data.go#L22
File is not `goimports`-ed with -local github.com/elastic (goimports)
lint (linux): metricbeat/module/elasticsearch/node_stats/data.go#L385
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
lint (linux)
issues found
lint (darwin)
The job was canceled because "windows" failed.
lint (darwin): metricbeat/module/elasticsearch/node_stats/data.go#L22
File is not `goimports`-ed with -local github.com/elastic (goimports)
lint (darwin): metricbeat/module/elasticsearch/node_stats/data.go#L385
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
lint (darwin)
issues found
lint (windows)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (windows)
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']
lint (windows)
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']
lint (linux)
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']
lint (linux)
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']
lint (darwin)
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']
lint (darwin)
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']