Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Jan 3, 2025
1 parent 6f86367 commit 1485e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/mode/static/state/resolver/resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ func bench(b *testing.B, svcNsName types.NamespacedName,
list discoveryV1.EndpointSliceList, initSet initEndpointSetFunc, n int,
) {
b.Helper()
for i := 0; i < b.N; i++ {
for range b.N {
res, err := resolveEndpoints(svcNsName, v1.ServicePort{Port: 80}, list, initSet, dualAddressType)
if len(res) != n {
b.Fatalf("expected %d endpoints, got %d", n, len(res))
Expand Down

0 comments on commit 1485e97

Please sign in to comment.