Skip to content

[WIP] ✨ Add support for v1beta2 conditions to clusterctl describe #5881

[WIP] ✨ Add support for v1beta2 conditions to clusterctl describe

[WIP] ✨ Add support for v1beta2 conditions to clusterctl describe #5881

Triggered via pull request October 13, 2024 16:55
Status Failure
Total duration 4m 23s
Artifacts

pr-golangci-lint.yaml

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

Annotations

10 errors and 3 warnings
lint: cmd/clusterctl/client/tree/tree.go#L300
captLocal: `ObjUpToDate' should not be capitalized (gocritic)
lint: cmd/clusterctl/client/tree/tree.go#L421
captLocal: `ObjUpToDate' should not be capitalized (gocritic)
lint: cmd/clusterctl/client/tree/annotations.go#L50
exported: exported const GroupItemsAvailableCounter should have comment (or a comment on this block) or be unexported (revive)
lint: cmd/clusterctl/client/tree/annotations.go#L98
exported: exported function GetGroupItemsAvailableCounter should have comment or be unexported (revive)
lint: cmd/clusterctl/client/tree/annotations.go#L109
exported: exported function GetGroupItemsReadyCounter should have comment or be unexported (revive)
lint: cmd/clusterctl/client/tree/annotations.go#L120
exported: exported function GetGroupItemsUpToDateCounter should have comment or be unexported (revive)
lint: cmd/clusterctl/cmd/describe_cluster.go#L194
unused-parameter: parameter 'showOther' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/clusterctl/client/tree/util.go#L124
func `setUpToDateV1Beta2Condition` is unused (unused)
lint: cmd/clusterctl/client/tree/tree.go#L456
unnecessary trailing newline (whitespace)
lint: cmd/clusterctl/client/tree/util.go#L77
unnecessary leading newline (whitespace)
lint (hack/tools)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint (test)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2