Skip to content

chore: fix SDK change, improve style and tests in scheduled rebalancing found after approving previous PR #1285

chore: fix SDK change, improve style and tests in scheduled rebalancing found after approving previous PR

chore: fix SDK change, improve style and tests in scheduled rebalancing found after approving previous PR #1285

Triggered via pull request March 12, 2025 19:04
Status Failure
Total duration 38s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: main.go#L7
could not import github.com/castai/terraform-provider-castai/castai (-: # github.com/castai/terraform-provider-castai/castai
lint: castai/resource_node_configuration.go#L1060
undefined: sdk.PLACEMENTRESOURCEDISK
lint: castai/resource_node_configuration.go#L1062
undefined: sdk.PLACEMENTCACHEDISK
lint: castai/resource_node_configuration.go#L1209
undefined: sdk.PLACEMENTRESOURCEDISK
lint: castai/resource_node_configuration.go#L1211
undefined: sdk.PLACEMENTCACHEDISK) (typecheck)
lint: castai/cluster.go#L1
: # github.com/castai/terraform-provider-castai/castai [github.com/castai/terraform-provider-castai/castai.test]
lint: castai/resource_node_configuration.go#L1060
undefined: sdk.PLACEMENTRESOURCEDISK
lint: castai/resource_node_configuration.go#L1062
undefined: sdk.PLACEMENTCACHEDISK
lint: castai/resource_node_configuration.go#L1209
undefined: sdk.PLACEMENTRESOURCEDISK
lint: castai/resource_node_configuration.go#L1211
undefined: sdk.PLACEMENTCACHEDISK (typecheck)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/terraform-provider-castai/terraform-provider-castai. Supported file pattern: go.sum