Skip to content

Commit eedb14f

Browse files
committed
Merge branch 'golangci-lint-rand-seed' into go-1.23
2 parents 8894e54 + f48a0b5 commit eedb14f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

testing/docker.go

-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919
"strconv"
2020
"strings"
2121
"testing"
22-
"time"
2322
)
2423

2524
func NewDockerContainer(t testing.TB, image string, env []string, cmd []string) (*DockerContainer, error) {
@@ -286,10 +285,6 @@ type dockerImagePullOutput struct {
286285
Progress string `json:"progress"`
287286
}
288287

289-
func init() {
290-
rand.Seed(time.Now().UnixNano())
291-
}
292-
293288
func pseudoRandStr(n int) string {
294289
var letterRunes = []rune("abcdefghijklmnopqrstuvwxyz0123456789")
295290
b := make([]rune, n)

0 commit comments

Comments
 (0)