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

Chia-Ping Tsai resolved YUNIKORN-2616.
--------------------------------------
    Fix Version/s: 1.6.0
       Resolution: Fixed

> 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
>              Labels: pull-request-available
>             Fix For: 1.6.0
>
>
> 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