Skip to content

🌱 Improve patch helper error handling #2172

🌱 Improve patch helper error handling

🌱 Improve patch helper error handling #2172

Triggered via pull request January 2, 2024 18:09
Status Failure
Total duration 4m 57s
Artifacts

pr-golangci-lint.yaml

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

Annotations

7 errors and 3 warnings
lint (test): test/infrastructure/docker/internal/docker/machine.go#L511
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint (test): test/infrastructure/inmemory/internal/controllers/inmemorymachine_controller.go#L78
SA4006: this value of `log` is never used (staticcheck)
lint (test): test/infrastructure/inmemory/internal/controllers/inmemorymachine_controller.go#L78
SA4006: this value of `log` is never used (staticcheck)
lint (test)
issues found
lint: cmd/clusterctl/client/cluster/mover.go#L762
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint: internal/controllers/clusterclass/clusterclass_controller.go#L386
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint
issues found
lint (test): test/infrastructure/docker/internal/docker/machine.go#L511
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint: cmd/clusterctl/client/cluster/mover.go#L762
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint: internal/controllers/clusterclass/clusterclass_controller.go#L386
if-return: redundant if ...; err != nil check, just return error instead. (revive)