Skip to content

Add and fix golangci issues #2

Add and fix golangci issues

Add and fix golangci issues #2

Triggered via pull request July 16, 2023 16:11
Status Failure
Total duration 3m 49s
Artifacts

pr.yaml

on: pull_request
Matrix: validate
Fit to window
Zoom out
Zoom in

Annotations

30 errors
Validate lint: pkg/secret/certificates.go#L223
undefined: clusterv1.ClusterLabelName (typecheck)
Validate lint
undefined: clusterv1.ClusterLabelName)\" were hidden, use --max-same-issues"
Validate lint: pkg/machinefilters/machine_filters.go#L148
undefined: clusterv1.MachineHealthCheckSuccededCondition
Validate lint: pkg/machinefilters/machine_filters.go#L196
undefined: clusterv1.ClusterLabelName
Validate lint: pkg/machinefilters/machine_filters.go#L197
undefined: clusterv1.MachineControlPlaneLabelName (typecheck)
Validate lint: pkg/k3s/control_plane.go#L24
could not import github.com/cluster-api-provider-k3s/cluster-api-k3s/pkg/machinefilters (-: # github.com/cluster-api-provider-k3s/cluster-api-k3s/pkg/machinefilters
Validate lint: pkg/machinefilters/machine_filters.go#L148
undefined: clusterv1.MachineHealthCheckSuccededCondition
Validate lint: pkg/machinefilters/machine_filters.go#L196
undefined: clusterv1.ClusterLabelName
Validate lint: pkg/machinefilters/machine_filters.go#L197
undefined: clusterv1.MachineControlPlaneLabelName) (typecheck)
Validate lint: pkg/k3s/control_plane.go#L214
undefined: clusterv1.ClusterLabelName (typecheck)
Validate test-controlplane: pkg/secret/certificates.go#L223
undefined: clusterv1.ClusterLabelName (typecheck)
Validate test-controlplane
undefined: clusterv1.ClusterLabelName)\" were hidden, use --max-same-issues"
Validate test-controlplane: pkg/machinefilters/machine_filters.go#L148
undefined: clusterv1.MachineHealthCheckSuccededCondition
Validate test-controlplane: pkg/machinefilters/machine_filters.go#L196
undefined: clusterv1.ClusterLabelName
Validate test-controlplane: pkg/machinefilters/machine_filters.go#L197
undefined: clusterv1.MachineControlPlaneLabelName (typecheck)
Validate test-controlplane: pkg/k3s/control_plane.go#L24
could not import github.com/cluster-api-provider-k3s/cluster-api-k3s/pkg/machinefilters (-: # github.com/cluster-api-provider-k3s/cluster-api-k3s/pkg/machinefilters
Validate test-controlplane: pkg/machinefilters/machine_filters.go#L148
undefined: clusterv1.MachineHealthCheckSuccededCondition
Validate test-controlplane: pkg/machinefilters/machine_filters.go#L196
undefined: clusterv1.ClusterLabelName
Validate test-controlplane: pkg/machinefilters/machine_filters.go#L197
undefined: clusterv1.MachineControlPlaneLabelName) (typecheck)
Validate test-controlplane: pkg/k3s/control_plane.go#L214
undefined: clusterv1.ClusterLabelName (typecheck)
Validate test-bootstrap
undefined: clusterv1.ClusterLabelName)\" were hidden, use --max-same-issues"
Validate test-bootstrap: pkg/secret/certificates.go#L223
undefined: clusterv1.ClusterLabelName (typecheck)
Validate test-bootstrap: pkg/machinefilters/machine_filters.go#L148
undefined: clusterv1.MachineHealthCheckSuccededCondition
Validate test-bootstrap: pkg/machinefilters/machine_filters.go#L196
undefined: clusterv1.ClusterLabelName
Validate test-bootstrap: pkg/machinefilters/machine_filters.go#L197
undefined: clusterv1.MachineControlPlaneLabelName (typecheck)
Validate test-bootstrap: pkg/k3s/control_plane.go#L24
could not import github.com/cluster-api-provider-k3s/cluster-api-k3s/pkg/machinefilters (-: # github.com/cluster-api-provider-k3s/cluster-api-k3s/pkg/machinefilters
Validate test-bootstrap: pkg/machinefilters/machine_filters.go#L148
undefined: clusterv1.MachineHealthCheckSuccededCondition
Validate test-bootstrap: pkg/machinefilters/machine_filters.go#L196
undefined: clusterv1.ClusterLabelName
Validate test-bootstrap: pkg/machinefilters/machine_filters.go#L197
undefined: clusterv1.MachineControlPlaneLabelName) (typecheck)
Validate test-bootstrap: pkg/k3s/control_plane.go#L214
undefined: clusterv1.ClusterLabelName (typecheck)