Skip to content

Commit

Permalink
Merge branch 'golangci-lint-rand-seed' into go-1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi committed Aug 29, 2024
2 parents 8894e54 + f48a0b5 commit eedb14f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions testing/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"strconv"
"strings"
"testing"
"time"
)

func NewDockerContainer(t testing.TB, image string, env []string, cmd []string) (*DockerContainer, error) {
Expand Down Expand Up @@ -286,10 +285,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)
Expand Down

0 comments on commit eedb14f

Please sign in to comment.