Skip to content

fix: user config marshal error omitted #3244

fix: user config marshal error omitted

fix: user config marshal error omitted #3244

Triggered via pull request October 13, 2023 08:38
Status Failure
Total duration 2m 6s
Artifacts

lint.yml

on: pull_request
commitlint
16s
commitlint
semgrep
16s
semgrep
make_lint
1m 55s
make_lint
check_docs_were_generated
17s
check_docs_were_generated
Fit to window
Zoom out
Zoom in

Annotations

20 errors
check_docs_were_generated: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L226
cannot use tablesAttrs (variable of type map[string]attr.Type) as []*dtoTables value in argument to schemautil.FlattenSetNested[dtoTables, tfoTables]
check_docs_were_generated: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L226
cannot use o.Tables (variable of type []*dtoTables) as map[string]attr.Type value in argument to schemautil.FlattenSetNested[dtoTables, tfoTables]
check_docs_were_generated: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L298
cannot use columnsAttrs (variable of type map[string]attr.Type) as []*dtoColumns value in argument to schemautil.FlattenSetNested[dtoColumns, tfoColumns]
check_docs_were_generated: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L298
cannot use o.Columns (variable of type []*dtoColumns) as map[string]attr.Type value in argument to schemautil.FlattenSetNested[dtoColumns, tfoColumns]
check_docs_were_generated: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L302
cannot use topicsAttrs (variable of type map[string]attr.Type) as []*dtoTopics value in argument to schemautil.FlattenSetNested[dtoTopics, tfoTopics]
check_docs_were_generated: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L302
cannot use o.Topics (variable of type []*dtoTopics) as map[string]attr.Type value in argument to schemautil.FlattenSetNested[dtoTopics, tfoTopics]
check_docs_were_generated: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L407
cannot use userConfigAttrs (variable of type map[string]attr.Type) as *dtoUserConfig value in argument to schemautil.FlattenSetBlockNested[dtoUserConfig, tfoUserConfig]
check_docs_were_generated: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L407
cannot use o (variable of type *dtoUserConfig) as map[string]attr.Type value in argument to schemautil.FlattenSetBlockNested[dtoUserConfig, tfoUserConfig]
check_docs_were_generated: internal/plugin/service/userconfig/integration/clickhousepostgresql/clickhouse_postgresql.go#L89
cannot use databasesAttrs (variable of type map[string]attr.Type) as []*dtoDatabases value in argument to schemautil.FlattenSetNested[dtoDatabases, tfoDatabases]
check_docs_were_generated: internal/plugin/service/userconfig/integration/clickhousepostgresql/clickhouse_postgresql.go#L89
cannot use o.Databases (variable of type []*dtoDatabases) as map[string]attr.Type value in argument to schemautil.FlattenSetNested[dtoDatabases, tfoDatabases]
make_lint: internal/plugin/service/serviceintegration/service_integration_data_source.go#L14
could not import github.com/aiven/terraform-provider-aiven/internal/plugin/service/userconfig/integration/clickhousekafka (-: # github.com/aiven/terraform-provider-aiven/internal/plugin/service/userconfig/integration/clickhousekafka
make_lint: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L226
cannot use tablesAttrs (variable of type map[string]attr.Type) as []*dtoTables value in argument to schemautil.FlattenSetNested[dtoTables, tfoTables]
make_lint: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L226
cannot use o.Tables (variable of type []*dtoTables) as map[string]attr.Type value in argument to schemautil.FlattenSetNested[dtoTables, tfoTables]
make_lint: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L298
cannot use columnsAttrs (variable of type map[string]attr.Type) as []*dtoColumns value in argument to schemautil.FlattenSetNested[dtoColumns, tfoColumns]
make_lint: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L298
cannot use o.Columns (variable of type []*dtoColumns) as map[string]attr.Type value in argument to schemautil.FlattenSetNested[dtoColumns, tfoColumns]
make_lint: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L302
cannot use topicsAttrs (variable of type map[string]attr.Type) as []*dtoTopics value in argument to schemautil.FlattenSetNested[dtoTopics, tfoTopics]
make_lint: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L302
cannot use o.Topics (variable of type []*dtoTopics) as map[string]attr.Type value in argument to schemautil.FlattenSetNested[dtoTopics, tfoTopics]
make_lint: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L407
cannot use userConfigAttrs (variable of type map[string]attr.Type) as *dtoUserConfig value in argument to schemautil.FlattenSetBlockNested[dtoUserConfig, tfoUserConfig]
make_lint: internal/plugin/service/userconfig/integration/clickhousekafka/clickhouse_kafka.go#L407
cannot use o (variable of type *dtoUserConfig) as map[string]attr.Type value in argument to schemautil.FlattenSetBlockNested[dtoUserConfig, tfoUserConfig]) (typecheck)
make_lint: internal/plugin/service/serviceintegration/service_integration_data_source.go#L15
could not import github.com/aiven/terraform-provider-aiven/internal/plugin/service/userconfig/integration/clickhousepostgresql (-: # github.com/aiven/terraform-provider-aiven/internal/plugin/service/userconfig/integration/clickhousepostgresql