mirror of https://github.com/apache/lucene.git
SOLR-4072: Error message is incorrect for linkconfig in ZkCLI.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565059 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
59b660aef1
commit
65ba982fdf
|
@ -276,6 +276,9 @@ Bug Fixes
|
|||
* SOLR-5678: SolrZkClient should throw a SolrException when connect times out
|
||||
rather 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
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue