Skip to content

feat: Add hadoop resource and data source (#370) #100

feat: Add hadoop resource and data source (#370)

feat: Add hadoop resource and data source (#370) #100

Triggered via pull request December 19, 2023 01:48
Status Failure
Total duration 1m 2s
Artifacts

testAndLint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Test: internal/service/hadoop/hadoop.go#L426
cannot use plan.UseKdc.ValueBoolPointer() (value of type *bool) as type *string in assignment
Test: internal/service/hadoop/hadoop.go#L452
cannot use plan.UseBootstrapScript.ValueBoolPointer() (value of type *bool) as type *string in assignment
Test: internal/service/hadoop/hadoop.go#L861
cannot use output.IsHa (variable of type *string) as type *bool in argument to types.BoolPointerValue
Test: internal/service/hadoop/hadoop.go#L927
cannot use serverInstance.IsPublicSubnet (variable of type *string) as type *bool in argument to types.BoolPointerValue
Test: internal/service/hadoop/hadoop_add_on_data_source.go#L84
unknown field 'CloudHadoopClusterTypeCode' in struct literal of type vhadoop.GetCloudHadoopAddOnListRequest
Test
Process completed with exit code 1.
Lint: internal/service/hadoop/hadoop.go#L1
: # github.com/terraform-providers/terraform-provider-ncloud/internal/service/hadoop
Lint: internal/service/hadoop/hadoop.go#L426
cannot use plan.UseKdc.ValueBoolPointer() (value of type *bool) as type *string in assignment
Lint: internal/service/hadoop/hadoop.go#L452
cannot use plan.UseBootstrapScript.ValueBoolPointer() (value of type *bool) as type *string in assignment
Lint: internal/service/hadoop/hadoop.go#L861
cannot use output.IsHa (variable of type *string) as type *bool in argument to types.BoolPointerValue
Lint: internal/service/hadoop/hadoop.go#L927
cannot use serverInstance.IsPublicSubnet (variable of type *string) as type *bool in argument to types.BoolPointerValue
Lint: internal/service/hadoop/hadoop_add_on_data_source.go#L84
unknown field 'CloudHadoopClusterTypeCode' in struct literal of type vhadoop.GetCloudHadoopAddOnListRequest (typecheck)
Lint: internal/provider/fwprovider/provider.go#L5
could not import github.com/terraform-providers/terraform-provider-ncloud/internal/service/hadoop (-: # github.com/terraform-providers/terraform-provider-ncloud/internal/service/hadoop
Lint: internal/service/hadoop/hadoop.go#L426
cannot use plan.UseKdc.ValueBoolPointer() (value of type *bool) as type *string in assignment
Lint: internal/service/hadoop/hadoop.go#L452
cannot use plan.UseBootstrapScript.ValueBoolPointer() (value of type *bool) as type *string in assignment
Lint: internal/service/hadoop/hadoop.go#L861
cannot use output.IsHa (variable of type *string) as type *bool in argument to types.BoolPointerValue