Skip to content

chore: fix linter issues #3688

chore: fix linter issues

chore: fix linter issues #3688

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

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Build: internal/models/workspace/fullname.go#L7
import 'github.com/go-openapi/swag' is not allowed from list 'Main' (depguard)
Build: internal/models/workspace/method_create.go#L7
import 'github.com/go-openapi/swag' is not allowed from list 'Main' (depguard)
Build: internal/models/workspace/method_get.go#L7
import 'github.com/go-openapi/swag' is not allowed from list 'Main' (depguard)
Build: internal/models/workspace/workspace.go#L10
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/models/objectmeta' is not allowed from list 'Main' (depguard)
Build: internal/client/workspace/workspace_resource.go#L10
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/client/transport' is not allowed from list 'Main' (depguard)
Build: internal/client/workspace/workspace_resource.go#L11
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/models/workspace' is not allowed from list 'Main' (depguard)
Build: internal/models/targetlocation/assigned_groups.go#L10
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/models/cluster' is not allowed from list 'Main' (depguard)
Build: internal/models/targetlocation/assigned_groups.go#L11
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/models/clustergroup' is not allowed from list 'Main' (depguard)
Build: internal/models/targetlocation/backup_location.go#L10
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/models/objectmeta' is not allowed from list 'Main' (depguard)
Build: internal/models/targetlocation/spec.go#L10
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/models/credential' 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