You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/02/16 11:52:00 UTC

[jira] [Updated] (YUNIKORN-2326) refactor `getAppsByState`, `getRejectedAppsByState`, and `getCompletedAppsByState`

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

ASF GitHub Bot updated YUNIKORN-2326:
-------------------------------------
    Labels: pull-request-available  (was: )

> refactor `getAppsByState`, `getRejectedAppsByState`, and `getCompletedAppsByState`
> ----------------------------------------------------------------------------------
>
>                 Key: YUNIKORN-2326
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2326
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Priyansh Choudhary
>            Priority: Minor
>              Labels: pull-request-available
>
> `getAppsByState`, `getRejectedAppsByState`, and `getCompletedAppsByState` do the similar job that get apps according to specific state. Hence, it would be better to have a helper method and then these three methods can reuse the code.
>  
> [https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/partition.go#L1075]
> [https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/partition.go#L1088]
> [https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/partition.go#L1101]
>  



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