[
https://issues.apache.org/jira/browse/YUNIKORN-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Bacsko updated YUNIKORN-2200:
-----------------------------------
Summary: `getClusterConfig` could return extra data after error response
(was: `getClusterConfig` could response undefined byte array )
> `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
> Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]