[
https://issues.apache.org/jira/browse/YUNIKORN-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Bacsko resolved YUNIKORN-2123.
------------------------------------
Fix Version/s: 1.5.0
Resolution: Fixed
Merged to master.
> Modify json.Unmarshal error message
> -----------------------------------
>
> Key: YUNIKORN-2123
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2123
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - common
> Reporter: Ted Lin
> Assignee: Michael Akinyemi
> Priority: Major
> Labels: newbie, pull-request-available
> Fix For: 1.5.0
>
>
> [https://github.com/apache/yunikorn-core/blob/master/pkg/webservice/handlers_test.go#L1199-L1278]
> In this code, if json.Unmarshal error, we often see:
> {code:java}
> assert.NilError(t, err, "failed to unmarshal applications dao response from
> response body"){code}
> We can replace "applications" with the meaning suitable for the function.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]