Skip to content

chore: enable unused-parameter from revive #10025

chore: enable unused-parameter from revive

chore: enable unused-parameter from revive #10025

Triggered via pull request January 17, 2025 13:44
Status Failure
Total duration 2m 59s
Artifacts

pr-linter-check.yml

on: pull_request
Run Linter Check
2m 50s
Run Linter Check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Run Linter Check: pkg/uploader/kopia/snapshot_test.go#L703
unused-parameter: parameter 'rootEntry' seems to be unused, consider removing or renaming it as _ (revive)
Run Linter Check: pkg/uploader/kopia/snapshot_test.go#L714
unused-parameter: parameter 'rootEntry' seems to be unused, consider removing or renaming it as _ (revive)
Run Linter Check: pkg/uploader/kopia/snapshot_test.go#L725
unused-parameter: parameter 'rootEntry' seems to be unused, consider removing or renaming it as _ (revive)
Run Linter Check: pkg/cmd/cli/delete_options.go#L57
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
Run Linter Check: pkg/itemblock/actions/pod_action.go#L50
unused-parameter: parameter 'backup' seems to be unused, consider removing or renaming it as _ (revive)
Run Linter Check: pkg/itemblock/actions/pvc_action.go#L64
unused-parameter: parameter 'backup' seems to be unused, consider removing or renaming it as _ (revive)
Run Linter Check: pkg/itemblock/actions/service_account_action.go#L59
unused-parameter: parameter 'backup' seems to be unused, consider removing or renaming it as _ (revive)
Run Linter Check: pkg/util/kube/utils_test.go#L44
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
Run Linter Check: pkg/util/kube/node.go#L91
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Run Linter Check: pkg/util/kube/utils.go#L201
unused-parameter: parameter 'log' seems to be unused, consider removing or renaming it as _ (revive)
Run Linter Check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Linter Check
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2