You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2023/11/23 04:35:00 UTC

[jira] [Created] (YUNIKORN-2185) application: rewrite if-else to switch statement

Wilfred Spiegelenburg created YUNIKORN-2185:
-----------------------------------------------

             Summary: application: rewrite if-else to switch statement
                 Key: YUNIKORN-2185
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2185
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: core - scheduler
            Reporter: Wilfred Spiegelenburg


{code:java}
pkg/scheduler/objects/application.go:1691:2: ifElseChain: rewrite if-else to switch statement (gocritic)
    if info.IsPreempted() {
    ^ {code}



--
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