You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Jie-Kai(Jay) Chang (Jira)" <ji...@apache.org> on 2024/09/07 09:24:00 UTC
[jira] [Closed] (YUNIKORN-2856) Remove redundent conditional
[ https://issues.apache.org/jira/browse/YUNIKORN-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jie-Kai(Jay) Chang closed YUNIKORN-2856.
----------------------------------------
Resolution: Not A Bug
-1 for this change. The conditional is current used for the REST API:
* [http://localhost:9889/ws/v1/partition/default/application/application-XXXX]
This change will break it.
> Remove redundent conditional
> ----------------------------
>
> Key: YUNIKORN-2856
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2856
> Project: Apache YuniKorn
> Issue Type: Improvement
> Reporter: Hsien-Cheng(Ryan) Huang
> Assignee: Jie-Kai(Jay) Chang
> Priority: Minor
> Labels: pull-request-available
>
> Delete unreachable code: webservice/handlers.go
> {code:java}
> if len(unescapedQueueName) == 0 {
> app = partitionContext.GetApplication(application)
> }
> {code}
--
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