ryankert01 opened a new pull request, #922: URL: https://github.com/apache/yunikorn-core/pull/922
### What is this PR for? Some REST API's throw "missing specific param" kind of errors, but not all. For example, user name is missing. Similarly, all mandatory parameters in other REST API's can follow the same pattern. It is very clear, rather than saying "doesn't exists" kind of error. Suggestion given in https://github.com/apache/yunikorn-core/pull/905#discussion_r1663068429 can be used as reference for implementation. ### What type of PR is it? * [ ] - Bug Fix * [ ] - Improvement * [ ] - Feature * [ ] - Documentation * [ ] - Hot Fix * [ ] - Refactoring ### Todos * [ ] - Task ### What is the Jira issue? https://issues.apache.org/jira/browse/YUNIKORN-2712 ### How should this be tested? ``` make test ``` ### Screenshots (if appropriate) ### Questions: * [ ] - The licenses files need update. * [ ] - There is breaking changes for older versions. * [ ] - It needs documentation. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
