ddanielr commented on code in PR #5729: URL: https://github.com/apache/accumulo/pull/5729#discussion_r2198318243
########## server/monitor/src/main/java/org/apache/accumulo/monitor/view/WebViews.java: ########## @@ -93,12 +93,21 @@ private void addExternalResources(Map<String,Object> model) { } private Map<String,Object> getModel() { + AccumuloConfiguration conf = monitor.getContext().getConfiguration(); + String rootContext = conf.get(Property.MONITOR_ROOT_CONTEXT); + if (!rootContext.startsWith("/")) { Review Comment: Switched the path changes to precondition checks instead. This allowed me to remove the constructor changes from EmbeddedWebServer as well. Tested and confirmed that the preconditions fail the monitor's startup -- 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: notifications-unsubscr...@accumulo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org