Michael Akinyemi created YUNIKORN-2549:
------------------------------------------
Summary: Fixing lint issues
Key: YUNIKORN-2549
URL: https://issues.apache.org/jira/browse/YUNIKORN-2549
Project: Apache YuniKorn
Issue Type: Improvement
Components: shim - kubernetes
Reporter: Michael Akinyemi
Assignee: Michael Akinyemi
Fixing lint issues in test/e2e/framework/helpers/common/utils.go:
test/e2e/framework/helpers/common/utils.go:60:9: wrapperFunc: use
strings.ReplaceAll method in `strings.Replace(name, "/", "-", -1)` (gocritic)
return strings.Replace(name, "/", "-", -1)
^
test/e2e/framework/helpers/common/utils.go:105:18: G404: Use of weak random
number generator (math/rand instead of crypto/rand) (gosec)
b[i] = letters[rand.Intn(len(letters))]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]