malliaridis commented on code in PR #2819:
URL: https://github.com/apache/solr/pull/2819#discussion_r1822885781
##########
solr/core/src/java/org/apache/solr/cli/RunExampleTool.java:
##########
@@ -260,7 +260,7 @@ protected void runExample(CommandLine cli, String
exampleName) throws Exception
"techproducts".equals(exampleName) ? "sample_techproducts_configs" :
"_default";
boolean isCloudMode = cli.hasOption('c');
- String zkHost = cli.getOptionValue('z');
+ String zkHost = SolrCLI.getZkHost(cli);
Review Comment:
Apparently this does not work for the specific use case, so I we have to
fallback to `SolrCLI#getOptionWithDeprecatedAndDefault`.
--
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]