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

Hsien-Cheng(Ryan) Huang reassigned YUNIKORN-2616:
-------------------------------------------------

    Assignee: Hsien-Cheng(Ryan) Huang

> 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
>            Assignee: Hsien-Cheng(Ryan) Huang
>            Priority: Trivial
>
> 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-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to