From 530244e0c6e28ab666343876c7296f1c1594ceae Mon Sep 17 00:00:00 2001 From: Alex Le Date: Tue, 24 Oct 2023 12:13:11 -0700 Subject: [PATCH] fix lint Signed-off-by: Alex Le --- pkg/storegateway/gateway_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storegateway/gateway_test.go b/pkg/storegateway/gateway_test.go index 48d3067ca7..48631ae3bd 100644 --- a/pkg/storegateway/gateway_test.go +++ b/pkg/storegateway/gateway_test.go @@ -419,7 +419,7 @@ func TestStoreGateway_BlocksSyncWithDefaultSharding_RingTopologyChangedAfterScal // Randomise the seed but log it in case we need to reproduce the test on failure. seed := time.Now().UnixNano() - rand.Seed(seed) + rand.New(rand.NewSource(seed)) t.Log("random generator seed:", seed) ctx := context.Background()