fix golangci-lint issues (#2715)

Signed-off-by: fahed dorgaa <fahed.dorgaa@gmail.com>
Co-authored-by: fahed dorgaa <fahed.dorgaa.ext@corp.ovh.com>
Co-authored-by: Matthias Adler <macedigital@users.noreply.github.com>
This commit is contained in:
fahed dorgaa
2024-08-14 12:54:44 +02:00
committed by GitHub
co-authored by fahed dorgaa Matthias Adler
parent 25ccc87317
commit aad03f71ea
7 changed files with 7 additions and 16 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ const (
var passwordChars = []byte("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")
func init() {
rand.Seed(time.Now().Unix())
rand.New(rand.NewSource(time.Now().Unix()))
}
// helper function to get bool pointers