[main] Multiple commands changed to allow canary steps #1129
golangci-lint.yml
on: pull_request
lint
1m 21s
Run go fmt
25s
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)
|