You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Ted Lin (Jira)" <ji...@apache.org> on 2023/11/05 15:57:00 UTC
[jira] [Created] (YUNIKORN-2123) Modify json.Unmarshal error message
Ted Lin created YUNIKORN-2123:
---------------------------------
Summary: 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
[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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org