Skip to content

refactor(userconfig): new generator for SDKv2 #3458

refactor(userconfig): new generator for SDKv2

refactor(userconfig): new generator for SDKv2 #3458

Triggered via pull request November 7, 2023 09:51
Status Failure
Total duration 2m 55s
Artifacts

lint.yml

on: pull_request
commitlint
17s
commitlint
semgrep
0s
semgrep
make_lint
2m 43s
make_lint
check_docs_were_generated
49s
check_docs_were_generated
Fit to window
Zoom out
Zoom in

Annotations

13 errors
semgrep
Unable to resolve action `returntocorp/semgrep-action@v1`, unable to find version `v1`
check_docs_were_generated: internal/sdkprovider/userconfig/converters/converters.go#L199
syntax error: unexpected ) at end of statement
check_docs_were_generated
Process completed with exit code 2.
make_lint: internal/sdkprovider/service/project/billing_group_data_source.go#L16
cannot infer M1 (/home/runner/go/pkg/mod/golang.org/x/[email protected]/maps/maps.go:81:11) (typecheck)
make_lint: internal/schemautil/service.go#L16
could not import github.com/aiven/terraform-provider-aiven/internal/sdkprovider/userconfig/converters (-: # github.com/aiven/terraform-provider-aiven/internal/sdkprovider/userconfig/converters
make_lint: internal/sdkprovider/userconfig/converters/converters.go#L199
syntax error: unexpected ) at end of statement) (typecheck)
make_lint: internal/sdkprovider/service/account/account_authentication_test.go#L19
"github.com/aiven/aiven-go-client/v2" imported as aiven and not used (typecheck)
make_lint: internal/sdkprovider/service/account/account_team_member_test.go#L10
"github.com/aiven/aiven-go-client/v2" imported as aiven and not used (typecheck)
make_lint: internal/sdkprovider/service/account/account_team_project_test.go#L10
"github.com/aiven/aiven-go-client/v2" imported as aiven and not used (typecheck)
make_lint: internal/sdkprovider/userconfig/converters/converters.go#L199
syntax error: unexpected ) at end of statement (typecheck)
make_lint: internal/sdkprovider/userconfig/converters/converters.go#L199
expected statement, found ')' (typecheck)
make_lint: internal/sdkprovider/userconfig/converters/converters.go#L260
expected '(', found Flatten (typecheck)
make_lint: internal/sdkprovider/userconfig/converters/converters.go#L292
expected '(', found flattenObj (typecheck)