Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Each handler use to take care of incorrect url path or missing param in url path case explicitly and return a json error response with 404 error code and message ".* is missing in URL path. Please check the usage documentation".
While working on YUNIKORN-1276 (PR - https://github.com/apache/yunikorn-core/pull/428#discussion_r944064005), come to know that mux go library takes care of this case by returning 404 error automatically. So, cleaned up the handler code as part of YUNIKORN-1276 itself, but doc changes not yet done. This jira will address the doc changes.
Attachments
Issue Links
- links to