This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new d2a619768d0 SOLR-16146: removed unused code
d2a619768d0 is described below
commit d2a619768d041ec1349247b1083c7e86c96f93bb
Author: Noble Paul <[email protected]>
AuthorDate: Mon Jun 6 21:11:27 2022 +1000
SOLR-16146: removed unused code
---
.../src/java/org/apache/solr/common/cloud/NodesSysPropsCacher.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/solr/solrj/src/java/org/apache/solr/common/cloud/NodesSysPropsCacher.java
b/solr/solrj/src/java/org/apache/solr/common/cloud/NodesSysPropsCacher.java
index 550c9889a4d..6224eefb74b 100644
--- a/solr/solrj/src/java/org/apache/solr/common/cloud/NodesSysPropsCacher.java
+++ b/solr/solrj/src/java/org/apache/solr/common/cloud/NodesSysPropsCacher.java
@@ -75,8 +75,6 @@ public class NodesSysPropsCacher implements AutoCloseable {
}
private Map<String, Object> fetchProps(String nodeName, Collection<String>
tags) {
- StringBuilder sb = new
StringBuilder(zkStateReader.getBaseUrlForNodeName(nodeName));
- sb.append("/admin/metrics?omitHeader=true&wt=javabin");
ModifiableSolrParams msp = new ModifiableSolrParams();
msp.add(CommonParams.OMIT_HEADER, "true");
LinkedHashMap<String, String> keys = new LinkedHashMap<>();