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: [email protected]
For additional commands, e-mail: [email protected]