chore(gosec): no need for security check

This commit is contained in:
Dario Tranchitella
2023-07-26 12:07:21 +02:00
parent 37455417bc
commit 56f51855e2

View File

@@ -4,7 +4,7 @@
package v1beta2
import (
"crypto/md5"
"crypto/md5" //#nosec
"encoding/hex"
"fmt"
)
@@ -17,7 +17,7 @@ const (
func createAnnotation(format string, resource fmt.Stringer) (string, error) {
suffix := resource.String()
hash := md5.Sum([]byte(resource.String()))
hash := md5.Sum([]byte(resource.String())) //#nosec
hashed := hex.EncodeToString(hash[:])
capsuleHashed := format + hashed