You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/06/03 10:49:40 UTC

[GitHub] [accumulo] milleruntime commented on a diff in pull request #2725: Convert monitor tables in server.js to DataTables

milleruntime commented on code in PR #2725:
URL: https://github.com/apache/accumulo/pull/2725#discussion_r888836205


##########
server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/server.js:
##########
@@ -18,18 +18,19 @@
  */
 "use strict";
 
-var serv;
-var tabletResults;
+var detailTable, historyTable, currentTable, resultsTable;
+
+const url = '/rest/tservers/' + window.location.search.split('=')[1];

Review Comment:
   Why get the URL this way? I worry if this is compatible with older browsers.



-- 
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-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org