pass the right settings to the listener

This commit is contained in:
Simon Willnauer 2015-10-23 11:05:37 +02:00
parent 8a9dd871d3
commit c1b1f395a7
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ public class IndicesService extends AbstractLifecycleComponent<IndicesService> i
modules.add(indexModule);
pluginsService.processModules(modules);
final IndexEventListener listener = indexModule.freeze();
listener.beforeIndexCreated(index, settings);
listener.beforeIndexCreated(index, idxSettings.getSettings());
Injector indexInjector;
try {