mirror of https://github.com/apache/lucene.git
SOLR-3137: check for null orig solr.xml name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1290829 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
634e115a25
commit
6d5e0efac4
|
@ -807,7 +807,9 @@ public class CoreContainer
|
|||
SolrCore newCore = core.reload(solrLoader);
|
||||
// keep core to orig name link
|
||||
String origName = coreToOrigName.remove(core);
|
||||
coreToOrigName.put(newCore, origName);
|
||||
if (origName != null) {
|
||||
coreToOrigName.put(newCore, origName);
|
||||
}
|
||||
register(name, newCore, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue