diff --git a/plugin/kubernetes/autopath_test.go b/plugin/kubernetes/autopath_test.go index ad4b01915..065e1a45c 100644 --- a/plugin/kubernetes/autopath_test.go +++ b/plugin/kubernetes/autopath_test.go @@ -70,7 +70,7 @@ func BenchmarkAutoPath(b *testing.B) { b.ReportAllocs() b.ResetTimer() - for i := 0; i < b.N; i++ { + for range b.N { result := k.AutoPath(state) _ = result }