Skip to content

chore: fix linter issues #3686

chore: fix linter issues

chore: fix linter issues #3686

Triggered via pull request December 17, 2024 18:05
@vivgoyalvivgoyal
synchronize #481
fix-linters
Status Failure
Total duration 45s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Build: internal/models/ekscluster/addons_config.go#L8
import 'github.com/go-openapi/swag' is not allowed from list 'Main' (depguard)
Build: internal/models/ekscluster/cluster.go#L11
import 'github.com/go-openapi/swag' is not allowed from list 'Main' (depguard)
Build: internal/models/ekscluster/cluster.go#L13
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/models/objectmeta' is not allowed from list 'Main' (depguard)
Build: internal/models/ekscluster/control_plane_config.go#L8
import 'github.com/go-openapi/swag' is not allowed from list 'Main' (depguard)
Build: internal/models/ekscluster/nodepool_resource.go#L10
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/models/objectmeta' is not allowed from list 'Main' (depguard)
Build: internal/models/ekscluster/status_condition.go#L8
import 'github.com/go-openapi/strfmt' is not allowed from list 'Main' (depguard)
Build: internal/resources/sourcesecret/spec/cluster_group_scope.go#L8
import 'github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema' is not allowed from list 'Main' (depguard)
Build: internal/resources/sourcesecret/spec/cluster_group_scope.go#L10
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/models/sourcesecret/clustergroup' is not allowed from list 'Main' (depguard)
Build: internal/resources/sourcesecret/spec/cluster_scope.go#L10
import 'github.com/go-openapi/strfmt' is not allowed from list 'Main' (depguard)
Build: internal/resources/sourcesecret/spec/cluster_scope.go#L11
import 'github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema' is not allowed from list 'Main' (depguard)
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636