Skip to content

Commit d9dbd1b

Browse files
committed
misc: rand.Seed deprecation
See: https://pkg.go.dev/math/[email protected]#Seed Signed-off-by: Hidde Beydals <[email protected]>
1 parent 0a27f6a commit d9dbd1b

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

internal/controller/suite_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@ var (
116116
testCache *cache.Cache
117117
)
118118

119-
func init() {
120-
rand.Seed(time.Now().UnixNano())
121-
}
122-
123119
type registryClientTestServer struct {
124120
out io.Writer
125121
registryHost string

pkg/azure/blob_integration_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ test: file2
8181
}
8282
)
8383

84-
func init() {
85-
rand.Seed(time.Now().UnixNano())
86-
}
87-
8884
func TestMain(m *testing.M) {
8985
var err error
9086
cred, err = blob.NewSharedKeyCredential(testAccountName, testAccountKey)

0 commit comments

Comments
 (0)