Wilfred Spiegelenburg created YUNIKORN-2616:
-----------------------------------------------

             Summary: Remove unused bool return from PreemptionPredicates()
                 Key: YUNIKORN-2616
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2616
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: shim - kubernetes
            Reporter: Wilfred Spiegelenburg


The predicate manager method {{PreemptionPredicates()}} returns two values an 
int and boolean. The boolean is false if the integer is -1 and true for 0 or 
llarger. There is no need for the boolean as the -1 already indicates the same



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org

Reply via email to