Skip to content

[main] Multiple commands changed to allow canary steps #1129

[main] Multiple commands changed to allow canary steps

[main] Multiple commands changed to allow canary steps #1129

Triggered via pull request March 12, 2025 20:55
Status Failure
Total duration 1m 31s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: command/v7/shared/app_stager.go#L127
cannot use resources.CanaryDeploymentOptions{…} (value of type "code.cloudfoundry.org/cli/resources".CanaryDeploymentOptions) as *"code.cloudfoundry.org/cli/resources".CanaryDeploymentOptions value in struct literal (typecheck)
lint: command/v7/add_network_policy_command.go#L9
could not import code.cloudfoundry.org/cli/command/v7/shared (-: # code.cloudfoundry.org/cli/command/v7/shared
lint: command/v7/shared/app_stager.go#L127
cannot use resources.CanaryDeploymentOptions{…} (value of type "code.cloudfoundry.org/cli/resources".CanaryDeploymentOptions) as *"code.cloudfoundry.org/cli/resources".CanaryDeploymentOptions value in struct literal) (typecheck)
lint: command/v7/shared/sharedfakes/fake_app_stager.go#L7
could not import code.cloudfoundry.org/cli/command/v7/shared (-: # code.cloudfoundry.org/cli/command/v7/shared
lint: command/v7/shared/app_stager.go#L127
cannot use resources.CanaryDeploymentOptions{…} (value of type "code.cloudfoundry.org/cli/resources".CanaryDeploymentOptions) as *"code.cloudfoundry.org/cli/resources".CanaryDeploymentOptions value in struct literal) (typecheck)
lint: command/common/command_list_v7_test.go#L13
undefined: Commands (typecheck)
lint: command/common/command_list_v7_test.go#L19
undefined: Commands (typecheck)
lint: command/common/command_list_v7_test.go#L25
undefined: Commands (typecheck)
lint: command/common/command_list_v7_test.go#L33
undefined: Commands (typecheck)
lint: command/common/command_list_v7_test.go#L39
undefined: Commands (typecheck)