[ 
https://issues.apache.org/jira/browse/YUNIKORN-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Akinyemi updated YUNIKORN-2549:
---------------------------------------
    Description: 
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)
           ^

  was:
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))]


> 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
>            Priority: Trivial
>
> 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)
>            ^



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to