You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2024/05/09 03:54:00 UTC

[jira] [Created] (YUNIKORN-2616) Remove unused bool return from PreemptionPredicates()

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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org