mirror of https://github.com/apache/lucene.git
SOLR-3489: Config file replication less error prone
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1343600 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef64958caa
commit
ef0b065bc2
|
@ -823,7 +823,7 @@ public class ReplicationHandler extends RequestHandlerBase implements SolrCoreAw
|
|||
List<String> files = Arrays.asList(includeConfFiles.split(","));
|
||||
for (String file : files) {
|
||||
if (file.trim().length() == 0) continue;
|
||||
String[] strs = file.split(":");
|
||||
String[] strs = file.trim().split(":");
|
||||
// if there is an alias add it or it is null
|
||||
confFileNameAlias.add(strs[0], strs.length > 1 ? strs[1] : null);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue