Skip to content

fix cli upgrade mgmt kubeconfig flag (#6666) #20159

fix cli upgrade mgmt kubeconfig flag (#6666)

fix cli upgrade mgmt kubeconfig flag (#6666) #20159

Triggered via push September 8, 2023 23:22
Status Failure
Total duration 2m 24s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: pkg/retrier/retrier_test.go#L190
var-declaration: should drop = nil from declaration of var retrier; it is the zero value (revive)
lint: pkg/retrier/retrier_test.go#L19
increment-decrement: should replace gotRetries += 1 with gotRetries++ (revive)
lint: pkg/retrier/retrier_test.go#L39
increment-decrement: should replace gotRetries += 1 with gotRetries++ (revive)
lint: pkg/retrier/retrier_test.go#L72
increment-decrement: should replace gotRetries += 1 with gotRetries++ (revive)
lint: pkg/retrier/retrier_test.go#L95
increment-decrement: should replace gotRetries += 1 with gotRetries++ (revive)
lint: pkg/retrier/retrier_test.go#L118
increment-decrement: should replace gotRetries += 1 with gotRetries++ (revive)
lint: pkg/retrier/retrier_test.go#L145
increment-decrement: should replace gotRetries += 1 with gotRetries++ (revive)
lint: pkg/retrier/retrier_test.go#L175
increment-decrement: should replace gotRetries += 1 with gotRetries++ (revive)
lint: pkg/providers/cloudstack/decoder/decoder.go#L140
var-naming: struct field ApiKey should be APIKey (revive)
lint: pkg/providers/cloudstack/decoder/decoder.go#L142
var-naming: struct field ManagementUrl should be ManagementURL (revive)
lint: pkg/git/providers/github/github.go#L52
unexported-return: exported func New returns unexported type *github.githubProvider, which can be annoying to use (revive)
lint: pkg/git/providers/github/github.go#L19
exported: exported const GitProviderName should have comment (or a comment on this block) or be unexported (revive)
lint: pkg/git/providers/github/github.go#L33
exported: exported type Options should have comment or be unexported (revive)
lint: pkg/git/providers/github/github.go#L40
exported: type name will be used as github.GithubClient by other packages, and that stutters; consider calling this Client (revive)
lint: pkg/git/providers/github/github.go#L133
exported: exported function GetGithubAccessTokenFromEnv should have comment or be unexported (revive)
lint: pkg/git/providers/github/github.go#L157
exported: exported type GitProviderNotFoundError should have comment or be unexported (revive)
lint: pkg/git/providers/github/github.go#L165
exported: exported function RepoUrl should have comment or be unexported (revive)
lint: pkg/git/providers/github/github.go#L22
var-naming: const githubUrlTemplate should be githubURLTemplate (revive)
lint: pkg/api/v1alpha1/vspheredatacenterconfig_types.go#L49
exported: exported method VSphereDatacenterConfig.Kind should have comment or be unexported (revive)
lint: pkg/api/v1alpha1/vspheredatacenterconfig_types.go#L53
exported: exported method VSphereDatacenterConfig.ExpectedKind should have comment or be unexported (revive)