Skip to content

implement machine controller #84

implement machine controller

implement machine controller #84

Triggered via pull request January 10, 2024 16:56
Status Failure
Total duration 1m 20s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
lint: cmd/main.go#L35
could not import github.com/ionos-cloud/cluster-api-provider-ionoscloud/internal/controller (-: # github.com/ionos-cloud/cluster-api-provider-ionoscloud/internal/controller
lint: internal/controller/ionoscloudmachine_controller.go#L215
machineService.DeleteLAN undefined (type *cloud.Service has no field or method DeleteLAN)) (typecheck)
lint: internal/controller/ionoscloudcluster_controller.go#L1
: # github.com/ionos-cloud/cluster-api-provider-ionoscloud/internal/controller [github.com/ionos-cloud/cluster-api-provider-ionoscloud/internal/controller.test]
lint: internal/controller/ionoscloudmachine_controller.go#L215
machineService.DeleteLAN undefined (type *cloud.Service has no field or method DeleteLAN) (typecheck)
lint: internal/service/cloud/network.go#L137
commentFormatting: put a space between `//` and comment text (gocritic)
lint: scope/machine.go#L22
File is not `gofumpt`-ed (gofumpt)
lint: internal/service/cloud/network.go#L21
File is not `gofumpt`-ed (gofumpt)
lint: internal/service/cloud/network.go#L25
File is not `gofumpt`-ed (gofumpt)
lint: internal/service/cloud/network.go#L49
File is not `gofumpt`-ed (gofumpt)
lint: internal/service/cloud/network.go#L115
File is not `gofumpt`-ed (gofumpt)
lint: scope/machine.go#L94
exported: exported method MachineScope.HasFailed should have comment or be unexported (revive)
lint: scope/machine.go#L99
exported: exported method MachineScope.PatchObject should have comment or be unexported (revive)
lint: scope/machine.go#L113
exported: exported method MachineScope.Finalize should have comment or be unexported (revive)
lint: internal/service/cloud/network.go#L40
exported: exported method Service.ReconcileLAN should have comment or be unexported (revive)
lint: internal/service/cloud/network.go#L108
exported: exported method Service.CreateLAN should have comment or be unexported (revive)