From 7b8595ad1a2f1f33fb5b3bd4d615f8d6ea78f1ca Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Thu, 29 Aug 2024 23:56:11 +0200 Subject: [PATCH] chore: remove deprecated `rand.Seed()` in testing.docker --- testing/docker.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/testing/docker.go b/testing/docker.go index 2a7c57f98..43a02ed76 100644 --- a/testing/docker.go +++ b/testing/docker.go @@ -286,10 +286,6 @@ type dockerImagePullOutput struct { Progress string `json:"progress"` } -func init() { - rand.Seed(time.Now().UnixNano()) -} - func pseudoRandStr(n int) string { var letterRunes = []rune("abcdefghijklmnopqrstuvwxyz0123456789") b := make([]rune, n)