Skip to content

refactor(kafka_topic): add KafkaTopic repository #3503

refactor(kafka_topic): add KafkaTopic repository

refactor(kafka_topic): add KafkaTopic repository #3503

Triggered via pull request November 8, 2023 19:56
Status Failure
Total duration 3m 3s
Artifacts

lint.yml

on: pull_request
commitlint
13s
commitlint
semgrep
22s
semgrep
make_lint
2m 53s
make_lint
check_docs_were_generated
50s
check_docs_were_generated
Fit to window
Zoom out
Zoom in

Annotations

15 errors
semgrep
Process completed with exit code 1.
check_docs_were_generated: internal/sdkprovider/service/kafkatopic/kafka_topic_exists.go#L37
cannot infer S (/home/runner/go/pkg/mod/golang.org/x/[email protected]/slices/slices.go:116:15)
check_docs_were_generated: internal/sdkprovider/service/kafkatopic/kafka_topic_exists.go#L41
cannot infer S (/home/runner/go/pkg/mod/golang.org/x/[email protected]/slices/slices.go:116:15)
check_docs_were_generated
Process completed with exit code 2.
make_lint: internal/sdkprovider/service/kafkatopic/kafka_topic_exists.go#L37
cannot infer S (/home/runner/go/pkg/mod/golang.org/x/[email protected]/slices/slices.go:116:15)
make_lint: internal/sdkprovider/service/kafkatopic/kafka_topic_exists.go#L41
cannot infer S (/home/runner/go/pkg/mod/golang.org/x/[email protected]/slices/slices.go:116:15) (typecheck)
make_lint: internal/sdkprovider/provider/provider.go#L20
could not import github.com/aiven/terraform-provider-aiven/internal/sdkprovider/service/kafkatopic (-: # github.com/aiven/terraform-provider-aiven/internal/sdkprovider/service/kafkatopic
make_lint: internal/sdkprovider/service/kafkatopic/kafka_topic_exists.go#L37
cannot infer S (/home/runner/go/pkg/mod/golang.org/x/[email protected]/slices/slices.go:116:15)
make_lint: internal/sdkprovider/service/kafkatopic/kafka_topic_exists.go#L41
cannot infer S (/home/runner/go/pkg/mod/golang.org/x/[email protected]/slices/slices.go:116:15)) (typecheck)
make_lint: internal/sdkprovider/service/account/account_test.go#L9
"github.com/aiven/aiven-go-client/v2" imported as aiven and not used (typecheck)
make_lint: internal/sdkprovider/service/project/project_test.go#L10
"github.com/aiven/aiven-go-client/v2" imported as aiven and not used (typecheck)
make_lint
Process completed with exit code 2.