Skip to content

refactor(userconfig): new generator for SDKv2 #3423

refactor(userconfig): new generator for SDKv2

refactor(userconfig): new generator for SDKv2 #3423

Triggered via pull request November 3, 2023 17:32
Status Failure
Total duration 2m 25s
Artifacts

lint.yml

on: pull_request
commitlint
15s
commitlint
semgrep
14s
semgrep
make_lint
2m 11s
make_lint
check_docs_were_generated
44s
check_docs_were_generated
Fit to window
Zoom out
Zoom in

Annotations

10 errors
make_lint: ucgenerator/main.go#L348
const `diffSuppressors` is unused (unused)
make_lint: ucgenerator/models.go#L162
func `(*object).isComputed` is unused (unused)
make_lint: internal/schemautil/mutations.go#L118
func `stringSuffixForIPFilters` is unused (unused)
make_lint: internal/schemautil/mutations.go#L131
func `stringSuffixForNamespaces` is unused (unused)
make_lint: internal/schemautil/schemautil.go#L17
var `errInvalidStateType` is unused (unused)
make_lint: internal/schemautil/schemautil.go#L322
func `unmarshalUserConfig` is unused (unused)
make_lint: internal/sdkprovider/userconfig/converters/converters.go#L148
S1009: should omit nil check; len() for map[string]any is defined as zero (gosimple)
make_lint: internal/sdkprovider/userconfig/converters/converters_test.go#L135
ineffectual assignment to err (ineffassign)
make_lint: internal/sdkprovider/userconfig/diff/diff.go#L54
ST1003: func SuppressIpFilterSet should be SuppressIPFilterSet (stylecheck)
make_lint: internal/sdkprovider/userconfig/converters/converters.go#L422
ST1003: func toJson should be toJSON (stylecheck)