Apache Solr open-source search software
Don't warn user about solrUrl format (#3246)
Eric Pughff623db53caa
diff --git a/solr/core/src/java/org/apache/solr/cli/RunExampleTool.java b/solr/core/src/java/org/apache/solr/cli/RunExampleTool.javaindex dde7da22761..c5afdf06321 100644--- a/solr/core/src/java/org/apache/solr/cli/RunExampleTool.java+++ b/solr/core/src/java/org/apache/solr/cli/RunExampleTool.java@@ -311,7 +311,7 @@ public class RunExampleTool extends ToolBase {cli.getOptionValue(PORT_OPTION, System.getenv().getOrDefault("SOLR_PORT", "8983")));Map<String, Object> nodeStatus = startSolr(solrHomeDir, isCloudMode, cli, port, zkHost, 30);- String solrUrl = CLIUtils.normalizeSolrUrl((String) nodeStatus.get("baseUrl"));+ String solrUrl = CLIUtils.normalizeSolrUrl((String) nodeStatus.get("baseUrl"), false);// If the example already exists then let the user know they should delete it, or// they may get unusual behaviors.