Skip to content

Commit

Permalink
Use modified PRE_MANAGER_CREATE indexSettings (#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienbrault authored and saimaz committed Jan 10, 2019
1 parent 15cbc8d commit 1689977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Service/ManagerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ public function createManager($managerName, $connection, $analysis, $managerConf
$this->eventDispatcher &&
$this->eventDispatcher->dispatch(
Events::PRE_MANAGER_CREATE,
new PreCreateManagerEvent($client, $indexSettings)
$preCreateEvent = new PreCreateManagerEvent($client, $indexSettings)
);

$manager = new Manager(
$managerName,
$managerConfig,
$client->build(),
$indexSettings,
$preCreateEvent->getIndexSettings(),
$this->metadataCollector,
$this->converter
);
Expand Down

0 comments on commit 1689977

Please sign in to comment.