From e05f10cae8ae28c43eb95b9fde79d60071093374 Mon Sep 17 00:00:00 2001 From: Doug Fawley Date: Tue, 8 Jul 2025 14:27:45 -0700 Subject: [PATCH] unused param --- balancer/endpointsharding/endpointsharding_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/balancer/endpointsharding/endpointsharding_test.go b/balancer/endpointsharding/endpointsharding_test.go index e41ece3b9..c4afe7ad8 100644 --- a/balancer/endpointsharding/endpointsharding_test.go +++ b/balancer/endpointsharding/endpointsharding_test.go @@ -71,7 +71,7 @@ func (s) TestRotateEndpoints(t *testing.T) { for _, tc := range testCases { t.Run(fmt.Sprint(tc.rval), func(t *testing.T) { - randIntN = func(n int) int { + randIntN = func(int) int { return tc.rval } got := rotateEndpoints(endpoints)