Skip to content

Commit

Permalink
Merge pull request #16459 from jmhbnz/remove-deprecated-functions
Browse files Browse the repository at this point in the history
Use crypto/rand.Read instead of deprecated math/rand.Read
  • Loading branch information
ahrtr authored Aug 22, 2023
2 parents 5a54fe6 + cb0df72 commit 29bfdd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/storage/wal/wal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ package wal

import (
"bytes"
"crypto/rand"
"errors"
"fmt"
"io"
"math"
"math/rand"
"os"
"path"
"path/filepath"
Expand Down

0 comments on commit 29bfdd1

Please sign in to comment.