epugh commented on code in PR #4629:
URL: https://github.com/apache/solr/pull/4629#discussion_r3566230286
##########
solr/core/src/java/org/apache/solr/cli/ZkCpTool.java:
##########
@@ -154,7 +155,7 @@ public void runImpl(CommandLine cli) throws Exception {
if (dstIsZk) {
String solrHome = cli.getOptionValue(SOLR_HOME_OPTION);
if (StrUtils.isNullOrEmpty(solrHome)) {
- solrHome = System.getProperty("solr.home");
+ solrHome = EnvUtils.getProperty("solr.home",
EnvUtils.getProperty("solr.solr.home"));
Review Comment:
The `solr.solr.home` thing was always a bit werid... But is a "thing".
What prompted this change here?
--
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]