From 72d70d9e4c8761b59c2447dfaafd2b77615c8ad5 Mon Sep 17 00:00:00 2001 From: SungJin1212 Date: Tue, 9 Sep 2025 11:48:56 +0900 Subject: [PATCH] chore: apply modernize for latest commits Signed-off-by: SungJin1212 --- pkg/scheduler/fragment_table/fragment_table_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/scheduler/fragment_table/fragment_table_test.go b/pkg/scheduler/fragment_table/fragment_table_test.go index 0f299a9c14f..576e2726455 100644 --- a/pkg/scheduler/fragment_table/fragment_table_test.go +++ b/pkg/scheduler/fragment_table/fragment_table_test.go @@ -116,20 +116,20 @@ func TestFragmentTable_ConcurrentAccess(t *testing.T) { wg.Add(numGoroutines * 2) // start writers - for i := 0; i < numGoroutines; i++ { + for i := range numGoroutines { go func(id int) { defer wg.Done() - for j := 0; j < numOperations; j++ { + for j := range numOperations { ft.AddAddressByID(uint64(id), uint64(j), "addr") } }(i) } // start readers - for i := 0; i < numGoroutines; i++ { + for i := range numGoroutines { go func(id int) { defer wg.Done() - for j := 0; j < numOperations; j++ { + for range numOperations { } }(i) }