dombizita commented on code in PR #3837:
URL: https://github.com/apache/ozone/pull/3837#discussion_r999589563


##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/api/routes.json:
##########
@@ -23,5 +23,9 @@
   "/namespace/du?path=/clunky&files=true": "/clunky",
   "/namespace/summary?path=*": "/metadata",
   "/namespace/quota?path=*": "/quota",
-  "/task/status": "/taskStatus"
+  "/task/status": "/taskStatus",
+  "/containers/unhealthy/UNDER_REPLICATED": "/UNDER_REPLICATED",
+  "/containers/unhealthy/OVER_REPLICATED": "/OVER_REPLICATED",
+  "/containers/unhealthy/MIS_REPLICATED": "/MIS_REPLICATED",
+  "/containers/unhealthy/ALL_REPLICAS_UNHEALTHY": "/ALL_REPLICAS_UNHEALTHY"

Review Comment:
   I also mentioned that it is on line number 4, but I think it would make the 
code more readable if we move it the other unhealthy routes and use the 
`"/containers/unhealthy/MISSING": "/missingContainers"` path. See my suggestion 
above.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to