🌱 Improve patch helper error handling #2172
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)
|