Skip to content

fix the loop counter in the bash "way" - #868

Open
mrodozov wants to merge 1 commit into
owncloud:masterfrom
mrodozov:fix-counter
Open

fix the loop counter in the bash "way"#868
mrodozov wants to merge 1 commit into
owncloud:masterfrom
mrodozov:fix-counter

Conversation

@mrodozov

Copy link
Copy Markdown

I was reading this file and noticed this explicit counter, thought it needed improvement

@dj4oC dj4oC 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.

Replaces an explicit space-separated loop counter (for i in 1 2 3 ... 20) with bash brace expansion (for i in {1..20}) in the Hetzner oCIS deploy script.

Findings

Nothing blocking. Purely cosmetic/idiomatic change; loop bounds and behavior are unchanged (still 20 iterations, same 4s sleep and break condition).

Verdict

Approved

🤖 Automated review by Claude Code


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants