misc: `math/rand.Read()` has been deprecated

See: https://pkg.go.dev/math/rand@go1.20#Read

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
Hidde Beydals 2023-10-09 13:42:46 +02:00
parent d9dbd1bdb7
commit a74eb57811
No known key found for this signature in database
GPG Key ID: 979F380FC2341744
2 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ limitations under the License.
package chart
import (
"crypto/rand"
"encoding/hex"
"math/rand"
"os"
"path/filepath"
"testing"

View File

@ -21,11 +21,11 @@ package azure
import (
"context"
"crypto/md5"
"crypto/rand"
"encoding/hex"
"errors"
"fmt"
"log"
"math/rand"
"os"
"path/filepath"
"strings"