ci: add lint step for pr workflow #8
Annotations
10 errors
|
internal/controller/service/controller.go#L78
unnecessary conversion (unconvert)
|
internal/controller/virtualmachinebmc/controller.go#L46
(*VirtualMachineBMCReconciler).constructPodForVirtualMachineBMC - result 1 (error) is always nil (unparam)
|
internal/controller/virtualmachinebmc/controller.go#L87
(*VirtualMachineBMCReconciler).constructServiceForVirtualMachineBMC - result 1 (error) is always nil (unparam)
|
internal/controller/virtualmachine/controller.go#L67
(*VirtualMachineReconciler).constructVirtualMachineBMCForVirtualMachine - result 1 (error) is always nil (unparam)
|
pkg/virtbmc/k8s.go#L53
func `(*VirtBMC).getVirtualMachine` is unused (unused)
|
pkg/virtbmc/k8s.go#L61
func `(*VirtBMC).getVirtualMachineInstance` is unused (unused)
|
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)
|
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)
|
|
This job was cancelled
Loading