File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ public function setSettings(
354
354
$ this ->algoliaConnector ->copySynonyms ($ indexOptions , $ indexTmpOptions );
355
355
$ this ->algoliaConnector ->waitLastTask ($ storeId );
356
356
$ this ->logger ->log ('
357
- Copying synonyms from production index to " ' . $ indexNameTmp . '" to not erase them with the index move.
357
+ Copying synonyms from production index to " ' . $ indexTmpOptions -> getIndexName () . '" to not erase them with the index move.
358
358
' );
359
359
} catch (AlgoliaException $ e ) {
360
360
$ this ->logger ->error ('Error encountered while copying synonyms: ' . $ e ->getMessage ());
@@ -364,7 +364,7 @@ public function setSettings(
364
364
$ this ->algoliaConnector ->copyQueryRules ($ indexOptions , $ indexTmpOptions );
365
365
$ this ->algoliaConnector ->waitLastTask ($ storeId );
366
366
$ this ->logger ->log ('
367
- Copying query rules from production index to " ' . $ indexNameTmp . '" to not erase them with the index move.
367
+ Copying query rules from production index to " ' . $ indexTmpOptions -> getIndexName () . '" to not erase them with the index move.
368
368
' );
369
369
} catch (AlgoliaException $ e ) {
370
370
if ($ e ->getCode () !== 404 ) {
You can’t perform that action at this time.
0 commit comments