You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Michael Akinyemi (Jira)" <ji...@apache.org> on 2024/04/09 03:22:00 UTC
[jira] [Created] (YUNIKORN-2549) Fixing lint issues
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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org