Skip to content

Change import role to cluster role #4255

Change import role to cluster role

Change import role to cluster role #4255

Triggered via pull request July 17, 2024 16:14
Status Failure
Total duration 2m 16s
Artifacts

golangci-lint.yml

on: pull_request
golangci-lint
2m 6s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
golangci-lint: internal/cmd/controller/reconciler/bundle_controller.go#L12
could not import github.com/rancher/fleet/internal/cmd/controller/target (-: # github.com/rancher/fleet/internal/cmd/controller/target
golangci-lint: internal/cmd/controller/target/builder.go#L65
not enough arguments in call to m.clusterGroupsForCluster
golangci-lint: internal/cmd/controller/operator.go#L11
could not import github.com/rancher/fleet/internal/cmd/controller/target (-: # github.com/rancher/fleet/internal/cmd/controller/target
golangci-lint: internal/cmd/controller/target/builder.go#L65
not enough arguments in call to m.clusterGroupsForCluster
golangci-lint: integrationtests/controller/bundle/suite_test.go#L12
could not import github.com/rancher/fleet/internal/cmd/controller/target (-: # github.com/rancher/fleet/internal/cmd/controller/target
golangci-lint: internal/cmd/controller/target/builder.go#L65
not enough arguments in call to m.clusterGroupsForCluster
golangci-lint: internal/cmd/controller/target/builder.go#L65
not enough arguments in call to m.clusterGroupsForCluster
golangci-lint
issues found
golangci-lint
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
golangci-lint
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']