Skip to content

🌱 add new machinepool spec type #12475

🌱 add new machinepool spec type

🌱 add new machinepool spec type #12475

Triggered via pull request April 7, 2026 04:16
Status Failure
Total duration 5m 0s
Artifacts

pr-golangci-lint.yaml

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

Annotations

12 errors and 3 warnings
lint (test)
Process completed with exit code 2.
lint (test): api/core/v1beta2/machinepool_types.go#L115
optionalfields: field Deletion does not allow the zero value. It must have the omitzero tag. (kubeapilinter)
lint (test): api/core/v1beta2/machinepool_types.go#L91
optionalfields: field Version does not allow the zero value. The field does not need to be a pointer. (kubeapilinter)
lint (test): api/core/v1beta2/machinepool_types.go#L84
requiredfields: field Bootstrap has a valid zero value ({}), but the validation is not complete (e.g. min properties/adding required fields). The field should be a pointer to allow the zero value to be set. If the zero value is not a valid use case, complete the validation and remove the pointer. (kubeapilinter)
lint (test): api/core/v1beta2/machinepool_types.go#L79
requiredfields: field InfrastructureRef should have the omitempty tag. (kubeapilinter)
lint
issues found
lint: api/core/v1beta2/machinepool_types.go#L67
File is not properly formatted (gci)
lint (hack/tools)
Process completed with exit code 2.
lint (hack/tools): api/core/v1beta2/machinepool_types.go#L115
optionalfields: field Deletion does not allow the zero value. It must have the omitzero tag. (kubeapilinter)
lint (hack/tools): api/core/v1beta2/machinepool_types.go#L91
optionalfields: field Version does not allow the zero value. The field does not need to be a pointer. (kubeapilinter)
lint (hack/tools): api/core/v1beta2/machinepool_types.go#L84
requiredfields: field Bootstrap has a valid zero value ({}), but the validation is not complete (e.g. min properties/adding required fields). The field should be a pointer to allow the zero value to be set. If the zero value is not a valid use case, complete the validation and remove the pointer. (kubeapilinter)
lint (hack/tools): api/core/v1beta2/machinepool_types.go#L79
requiredfields: field InfrastructureRef should have the omitempty tag. (kubeapilinter)
lint (test)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint (hack/tools)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2