This is an automated email from the ASF dual-hosted git repository.

epugh 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 ff623db53ca Don't warn user about solrUrl format (#3246)
ff623db53ca is described below

commit ff623db53caa319654cfd89899473c599f5f3480
Author: Eric Pugh <[email protected]>
AuthorDate: Mon Mar 10 07:57:38 2025 -0400

    Don't warn user about solrUrl format (#3246)
    
    The user didn't supply this url, so don't warn them about the formatting.
---
 solr/core/src/java/org/apache/solr/cli/RunExampleTool.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/cli/RunExampleTool.java 
b/solr/core/src/java/org/apache/solr/cli/RunExampleTool.java
index 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.

Reply via email to