Modernize Go code with latest style conventions#1623
Modernize Go code with latest style conventions#1623fmount wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
Conversation
Applied automated modernization using gopls modernize tool to update:
- Replace interface{} with any type alias (Go 1.18+)
- Update range loops to use idiomatic range syntax
- Replace fmt.Sprintf with fmt.Appendf where appropriate
These changes improve code readability and align with current Go best
practices.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Francesco Pantano <fpantano@redhat.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: fmount The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
LGTM |
|
/retest |
|
@fmount: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Modernize using
gopls modernize toolto update:These changes improve code readability and align with current Go best practices.
Co-Authored-By: Claude noreply@anthropic.com