From cb0df72b700357e26444691e0fb079716b7a8803 Mon Sep 17 00:00:00 2001 From: James Blair Date: Sun, 20 Aug 2023 10:20:25 +1200 Subject: [PATCH] Use crypto/rand.Read instead of deprecated math/rand.Read. Signed-off-by: James Blair --- server/storage/wal/wal_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/storage/wal/wal_test.go b/server/storage/wal/wal_test.go index 45bae828c18..ed3a8893df5 100644 --- a/server/storage/wal/wal_test.go +++ b/server/storage/wal/wal_test.go @@ -16,11 +16,11 @@ package wal import ( "bytes" + "crypto/rand" "errors" "fmt" "io" "math" - "math/rand" "os" "path" "path/filepath"