Apply go fix -rangeint ./...

This commit is contained in:
Michael Eischer
2026-07-22 22:26:19 +02:00
parent fb36a7f59b
commit 2c169edad4
56 changed files with 91 additions and 91 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ func TestNodeRestoreAt(t *testing.T) {
// Update the tests to use UPPER case xattr names for windows.
extAttrArr := test.ExtendedAttributes
// Iterate through the array using pointers
for i := 0; i < len(extAttrArr); i++ {
for i := range extAttrArr {
extAttrArr[i].Name = strings.ToUpper(extAttrArr[i].Name)
}
}