ddanielr commented on code in PR #5894:
URL: https://github.com/apache/accumulo/pull/5894#discussion_r2363551636
##########
server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js:
##########
@@ -339,7 +339,7 @@ function doLoggedPostCall(call, callback, shouldSanitize) {
* stores it on a sessionStorage variable
*/
function getManager() {
- return getJSONForTable(contextPath + 'rest/manager', 'manager');
+ return getJSONForTable(REST_V2_PREFIX + '/manager', 'manager');
Review Comment:
`REST_V2_PREFIX` is defined as `const REST_V2_PREFIX = contextPath +
'rest-v2';` on line 465.
I didn't see any console errors but that constant definition should probably
get moved to the top of this file for readability.
--
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]