Skip to content

golangci-lint

golangci-lint #155

Triggered via push September 3, 2024 15:04
Status Failure
Total duration 54s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: main.go#L243
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint: main.go#L260
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/clusterinfo/clusterinfo_test.go#L47
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint: collector/nodes_test.go#L141
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
lint: collector/collector.go#L206
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: collector/cluster_info.go#L80
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: collector/nodes.go#L73
unused-parameter: parameter 'node' seems to be unused, consider removing or renaming it as _ (revive)
lint: tls.go#L19
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)
lint: collector/cluster_health.go#L19
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)
lint: collector/cluster_info.go#L19
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)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/