iprithv commented on code in PR #4629:
URL: https://github.com/apache/solr/pull/4629#discussion_r3575054756


##########
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:
   my bad, I've fixed ZkCpTool to use EnvUtils.getProperty("solr.home") to 
preserve the original behaviour. Thanks!



-- 
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]

Reply via email to