Skip to content

Commit

Permalink
Fix Qodana issue
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-moser committed Feb 5, 2024
1 parent 7558120 commit 85ad24f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DependencyInjection/PimcoreGenericDataIndexExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ private function registerIndexServiceParams(ContainerBuilder $container, array $
$definition->setArgument('$searchSettings', $indexSettings['search_settings']);
$definition->setArgument('$systemFieldsSettings', $indexSettings['system_fields_settings']);

$container->setAlias('generic-data-index.opensearch-client', 'pimcore.open_search_client.' . $indexSettings['client_params']['client_name']);
$openSearchClientId = 'pimcore.open_search_client.' . $indexSettings['client_params']['client_name'];
$container->setAlias('generic-data-index.opensearch-client', $openSearchClientId);

$definition = $container->getDefinition(DispatchQueueMessagesHandler::class);
$definition->setArgument('$queueSettings', $indexSettings['queue_settings']);
Expand Down

0 comments on commit 85ad24f

Please sign in to comment.