Skip to content

ci: add lint step for pr workflow #8

ci: add lint step for pr workflow

ci: add lint step for pr workflow #8

Triggered via pull request July 30, 2024 13:56
Status Failure
Total duration 55s
Artifacts

pull-request.yaml

on: pull_request
Matrix: build-pr
Fit to window
Zoom out
Zoom in

Annotations

19 errors
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/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.