mlbiscoc commented on code in PR #2916:
URL: https://github.com/apache/solr/pull/2916#discussion_r1892947508


##########
solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseHttpClusterStateProvider.java:
##########
@@ -185,7 +184,9 @@ private DocCollection fetchCollectionState(SolrClient 
client, String collection)
     SimpleOrderedMap<?> cluster =
         submitClusterStateRequest(client, collection, 
ClusterStateRequestType.FETCH_COLLECTION);
 
-    var collStateMap = (Map<String, Object>) 
cluster.findRecursive("collections", collection);
+    var collState = (Map<String, Object>) cluster.findRecursive("collections");

Review Comment:
   Made the small enhancement to NamedList and added a test to make sure it 
works. Lmk what you think.



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