[Fix] Correctly send workload_type fields in databricks_cluster
to allow users to disable usage in certain contexts
#8366
Annotations
10 errors
Run tests:
internal/acceptance/cluster_test.go#L146
cannot use resource.ComposeAggregateTestCheckFunc(resource.TestCheckResourceAttr("databricks_cluster.this", "workload_type.0.clients.0.jobs", "true"), resource.TestCheckResourceAttr("databricks_cluster.this", "workload_type.0.clients.0.notebooks", "true")) (value of type "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource".TestCheckFunc) as func(*"github.com/hashicorp/terraform-plugin-testing/terraform".State) error value in struct literal
|
Run tests:
internal/acceptance/cluster_test.go#L158
cannot use resource.ComposeAggregateTestCheckFunc(resource.TestCheckResourceAttr("databricks_cluster.this", "workload_type.0.clients.0.jobs", "false"), resource.TestCheckResourceAttr("databricks_cluster.this", "workload_type.0.clients.0.notebooks", "false")) (value of type "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource".TestCheckFunc) as func(*"github.com/hashicorp/terraform-plugin-testing/terraform".State) error value in struct literal
|
Run tests:
internal/acceptance/cluster_test.go#L167
cannot use resource.ComposeAggregateTestCheckFunc(resource.TestCheckResourceAttr("databricks_cluster.this", "workload_type.0.clients.0.jobs", "true"), resource.TestCheckResourceAttr("databricks_cluster.this", "workload_type.0.clients.0.notebooks", "true")) (value of type "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource".TestCheckFunc) as func(*"github.com/hashicorp/terraform-plugin-testing/terraform".State) error value in struct literal
|
Run tests:
internal/acceptance/cluster_test.go#L174
cannot use resource.ComposeAggregateTestCheckFunc(resource.TestCheckResourceAttr("databricks_cluster.this", "workload_type.0.clients.0.jobs", "true"), resource.TestCheckResourceAttr("databricks_cluster.this", "workload_type.0.clients.0.notebooks", "true")) (value of type "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource".TestCheckFunc) as func(*"github.com/hashicorp/terraform-plugin-testing/terraform".State) error value in struct literal
|
Run tests:
internal/acceptance/cluster_test.go#L180
cannot use resource.ComposeAggregateTestCheckFunc(resource.TestCheckResourceAttr("databricks_cluster.this", "workload_type.0.clients.0.jobs", "true"), resource.TestCheckResourceAttr("databricks_cluster.this", "workload_type.0.clients.0.notebooks", "true")) (value of type "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource".TestCheckFunc) as func(*"github.com/hashicorp/terraform-plugin-testing/terraform".State) error value in struct literal (compile)
|
Run tests:
internal/acceptance/entitlements_base_resources.go#L12
type entitlementResource is unused (U1000)
|
Run tests:
internal/acceptance/entitlements_base_resources.go#L23
type userResource is unused (U1000)
|
Run tests:
internal/acceptance/entitlements_base_resources.go#L29
func (*userResource).resourceType is unused (U1000)
|
Run tests:
internal/acceptance/entitlements_base_resources.go#L33
func (*userResource).setDisplayName is unused (U1000)
|
Run tests:
internal/acceptance/entitlements_base_resources.go#L37
func (*userResource).setWorkspaceClient is unused (U1000)
|
Loading