Apache Lucene open-source search software
SOLR-4072: Error message is incorrect for linkconfig in ZkCLI.
Mark Robert Miller65ba982fdf99
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 68c8ed453e2..243714fb090 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -276,6 +276,9 @@ Bug Fixes* SOLR-5678: SolrZkClient should throw a SolrException when connect times outrather than a RuntimeException. (Karl Wright, Anshum Gupta, Mark Miller)+* SOLR-4072: Error message is incorrect for linkconfig in ZkCLI.+ (Vamsee Yarlagadda, Adam Hahn, via Mark Miller)+Optimizations----------------------diff --git a/solr/core/src/java/org/apache/solr/cloud/ZkCLI.java b/solr/core/src/java/org/apache/solr/cloud/ZkCLI.javaindex 63d02dd88ba..4190aa3f9a4 100644--- a/solr/core/src/java/org/apache/solr/cloud/ZkCLI.java+++ b/solr/core/src/java/org/apache/solr/cloud/ZkCLI.java@@ -222,7 +222,7 @@ public class ZkCLI {ZkController.downloadConfigDir(zkClient, confName, new File(confDir));} else if (line.getOptionValue(CMD).equals(LINKCONFIG)) {if (!line.hasOption(COLLECTION) || !line.hasOption(CONFNAME)) {- System.out.println("-" + CONFDIR + " and -" + CONFNAME+ System.out.println("-" + COLLECTION + " and -" + CONFNAME+ " are required for " + LINKCONFIG);System.exit(1);}