Use range
over int
after 1.22 upgrade #1345
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1345
Loading…
Reference in a new issue
No description provided.
Delete branch "elebedeva/frostfs-node:feat/range-over-int-go1.22"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close #1317
Since Go 1.22 a
for
statement with arange
clause is able to iterate through integer values from zero to an upper limit.Files were changed via
gopatch
with a script:Unused identifiers were removed manually. 🥲
Signed-off-by: Ekaterina Lebedeva ekaterina.lebedeva@yadro.com
identifier
is anexpression
, so you can always useexpression
and remove patches withx identifier
.Should lead to the same result.
Also, please, attach the patch to the commit message.
Good!
1a17a5594c
todf05920c8e
df05920c8e
toa685fcdc96