[V3] Fix lint violations
What does this MR do?
Backport of Update GOLANGCI_LINT_VERSION to v1.52.2 and fix... (!860 - merged) • Adam Cohen • 17.4 for the v3
branch.
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
- [-] Changelog entry added
-
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer