ci: add lint step for pr workflow #8
Annotations
19 errors
build-pr (./Dockerfile.virtbmc, starbops/virtbmc):
internal/controller/service/controller.go#L78
unnecessary conversion (unconvert)
|
build-pr (./Dockerfile.virtbmc, starbops/virtbmc):
internal/controller/virtualmachinebmc/controller.go#L46
(*VirtualMachineBMCReconciler).constructPodForVirtualMachineBMC - result 1 (error) is always nil (unparam)
|
build-pr (./Dockerfile.virtbmc, starbops/virtbmc):
internal/controller/virtualmachinebmc/controller.go#L87
(*VirtualMachineBMCReconciler).constructServiceForVirtualMachineBMC - result 1 (error) is always nil (unparam)
|
build-pr (./Dockerfile.virtbmc, starbops/virtbmc):
internal/controller/virtualmachine/controller.go#L67
(*VirtualMachineReconciler).constructVirtualMachineBMCForVirtualMachine - result 1 (error) is always nil (unparam)
|
build-pr (./Dockerfile.virtbmc, starbops/virtbmc):
pkg/virtbmc/k8s.go#L53
func `(*VirtBMC).getVirtualMachine` is unused (unused)
|
build-pr (./Dockerfile.virtbmc, starbops/virtbmc):
pkg/virtbmc/k8s.go#L61
func `(*VirtBMC).getVirtualMachineInstance` is unused (unused)
|
build-pr (./Dockerfile.virtbmc, starbops/virtbmc):
cmd/virtbmc/main.go#L44
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
build-pr (./Dockerfile.virtbmc, starbops/virtbmc):
cmd/virtbmc/main.go#L45
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
build-pr (./Dockerfile.virtbmc, starbops/virtbmc)
Process completed with exit code 2.
|
build-pr (./Dockerfile, starbops/virtbmc-controller)
The job was canceled because "_Dockerfile_virtbmc_starb" failed.
|
build-pr (./Dockerfile, starbops/virtbmc-controller):
internal/controller/service/controller.go#L78
unnecessary conversion (unconvert)
|
build-pr (./Dockerfile, starbops/virtbmc-controller):
internal/controller/virtualmachinebmc/controller.go#L46
(*VirtualMachineBMCReconciler).constructPodForVirtualMachineBMC - result 1 (error) is always nil (unparam)
|
build-pr (./Dockerfile, starbops/virtbmc-controller):
internal/controller/virtualmachinebmc/controller.go#L87
(*VirtualMachineBMCReconciler).constructServiceForVirtualMachineBMC - result 1 (error) is always nil (unparam)
|
build-pr (./Dockerfile, starbops/virtbmc-controller):
internal/controller/virtualmachine/controller.go#L67
(*VirtualMachineReconciler).constructVirtualMachineBMCForVirtualMachine - result 1 (error) is always nil (unparam)
|
build-pr (./Dockerfile, starbops/virtbmc-controller):
pkg/virtbmc/k8s.go#L53
func `(*VirtBMC).getVirtualMachine` is unused (unused)
|
build-pr (./Dockerfile, starbops/virtbmc-controller):
pkg/virtbmc/k8s.go#L61
func `(*VirtBMC).getVirtualMachineInstance` is unused (unused)
|
build-pr (./Dockerfile, starbops/virtbmc-controller):
cmd/virtbmc/main.go#L44
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
build-pr (./Dockerfile, starbops/virtbmc-controller):
cmd/virtbmc/main.go#L45
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
build-pr (./Dockerfile, starbops/virtbmc-controller)
The operation was canceled.
|