epugh commented on code in PR #2778: URL: https://github.com/apache/solr/pull/2778#discussion_r1807114387
########## solr/core/src/java/org/apache/solr/cli/AssertTool.java: ########## @@ -531,7 +530,7 @@ private static boolean isSolrRunningOn(String url) throws Exception { } private static boolean runningSolrIsCloud(String url) throws Exception { - try (final SolrClient client = new Http2SolrClient.Builder(url).build()) { + try (final SolrClient client = SolrCLI.getSolrClient(url)) { Review Comment: Makes sense. Also, since we have a SolrCLI.getSolrCLient, let's use it! -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org