You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2023/11/28 15:39:00 UTC

[jira] [Resolved] (YUNIKORN-2200) `getClusterConfig` could return extra data after error response

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

Peter Bacsko resolved YUNIKORN-2200.
------------------------------------
     Fix Version/s: 1.5.0
    Target Version: 1.5.0
        Resolution: Fixed

Merged to master.

> `getClusterConfig` could return extra data after error response
> ---------------------------------------------------------------
>
>                 Key: YUNIKORN-2200
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2200
>             Project: Apache YuniKorn
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Guan Wu Su
>            Priority: Minor
>              Labels: newbie, pull-request-available
>             Fix For: 1.5.0
>
>
> just code reading.
> https://github.com/apache/yunikorn-core/blob/master/pkg/webservice/handlers.go#L470
> It needs a "return" after it responses the StatusInternalServerError for failed encoding (json/yaml)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org