Skip to content

Commit a74eb57

Browse files
committed
misc: math/rand.Read() has been deprecated
See: https://pkg.go.dev/math/[email protected]#Read Signed-off-by: Hidde Beydals <[email protected]>
1 parent d9dbd1b commit a74eb57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/helm/chart/builder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ limitations under the License.
1717
package chart
1818

1919
import (
20+
"crypto/rand"
2021
"encoding/hex"
21-
"math/rand"
2222
"os"
2323
"path/filepath"
2424
"testing"

pkg/azure/blob_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ package azure
2121
import (
2222
"context"
2323
"crypto/md5"
24+
"crypto/rand"
2425
"encoding/hex"
2526
"errors"
2627
"fmt"
2728
"log"
28-
"math/rand"
2929
"os"
3030
"path/filepath"
3131
"strings"

0 commit comments

Comments
 (0)