Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

modernizes for loop in cmd/, internal/ - #21309

Merged
harshavardhana merged 6 commits into
minio:masterfrom
12ya:12ya-patch
May 27, 2025
Merged

harshavardhana merged 6 commits into
minio:masterfrom
12ya:12ya-patch

Conversation

@12ya

@12ya 12ya commented May 24, 2025

Copy link
Copy Markdown
Contributor

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers
under the terms of the Apache 2 license.
By creating this pull request I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 license.

Description

codebase cleanup. modernizes for loop

Motivation and Context

modernize codebase for non-test files

How to test this PR?

functionality stays the same

Types of changes

  • [ x ] Optimization (provides speedup with no functional changes)

@harshavardhana

Copy link
Copy Markdown
Member

can you fix the PR title - what does this cleanup do etc? be a little more descriptive on the changes.

@12ya 12ya changed the title cmd/, internal/: cleanup modernizes for loop in cmd/, internal/ May 25, 2025
@12ya

12ya commented May 25, 2025

Copy link
Copy Markdown
Contributor Author

can you fix the PR title - what does this cleanup do etc? be a little more descriptive on the changes.

updated title and description

@klauspost klauspost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check if any of these vars are updated during the loops?

@12ya

12ya commented May 26, 2025

Copy link
Copy Markdown
Contributor Author

Did you check if any of these vars are updated during the loops?

yes, none of them do

@12ya
12ya requested a review from klauspost May 26, 2025 10:38

@klauspost klauspost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@harshavardhana
harshavardhana merged commit 0a36d41 into minio:master May 27, 2025
@12ya
12ya deleted the 12ya-patch branch May 27, 2025 21:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants