Skip to content

[Umbrella] Address golangci-lint v2 formatting issues #6273

@seanlaii

Description

@seanlaii

What would you like to be added:
Applies code formatting changes to resolve linting violations reported by the upgraded golangci-lint v2.

Ref: https://github.com/karmada-io/karmada/actions/runs/14120914184/job/39560873286?pr=6237

Why is this needed:
The following issues stem from new checks introduced in v2, which were temporarily disabled for incremental resolution.
Fix #6237

staticcheck:

revive

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions