Skip to content

✨Separate rancher cluster from manager #538

✨Separate rancher cluster from manager

✨Separate rancher cluster from manager #538

Triggered via pull request October 9, 2023 16:31
Status Failure
Total duration 2m 17s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
lint: internal/rancher/setup/cluster.go#L8
File is not `gci`-ed with --skip-generated -s standard -s blank -s dot -s default -s prefix(sigs.k8s.io/cluster-api) -s prefix(github.com/rancher-sandbox/rancher-turtles) --custom-order (gci)
lint: internal/rancher/setup/cluster.go#L17
File is not `gci`-ed with --skip-generated -s standard -s blank -s dot -s default -s prefix(sigs.k8s.io/cluster-api) -s prefix(github.com/rancher-sandbox/rancher-turtles) --custom-order (gci)
lint: internal/rancher/setup/cluster.go#L14
File is not `goimports`-ed with -local github.com/rancher-sandbox/rancher-turtles (goimports)
lint: internal/rancher/setup/cluster.go#L33
if statements should only be cuddled with assignments (wsl)
lint: internal/rancher/setup/cluster.go#L39
return statements should not be cuddled if block has more than two lines (wsl)
lint
issues found
lint: internal/rancher/setup/cluster.go#L36
if-return: redundant if ...; err != nil check, just return error instead. (revive)