Skip to content

Commit

Permalink
[Healthchecks] Rename primary shards test class
Browse files Browse the repository at this point in the history
  • Loading branch information
rbayet committed Jan 14, 2025
1 parent 59f5464 commit 4f24b85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*
* Checks for shard misconfigurations in the Elasticsearch cluster.
*/
class ShardsConfigCheck implements CheckInterface
class PrimaryShardsConfigCheck implements CheckInterface
{
/**
* Route to Stores -> Configuration section.
Expand Down Expand Up @@ -83,7 +83,7 @@ public function __construct(
*/
public function getIdentifier(): string
{
return 'shards_config_check';
return 'primary_shards_config_check';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/module-elasticsuite-core/etc/adminhtml/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<arguments>
<argument name="checks" xsi:type="array">
<item name="ghost_indices_check" xsi:type="object">Smile\ElasticsuiteCore\Model\Healthcheck\GhostIndicesCheck</item>
<item name="shards_config_check" xsi:type="object">Smile\ElasticsuiteCore\Model\Healthcheck\ShardsConfigCheck</item>
<item name="primary_shards_config_check" xsi:type="object">Smile\ElasticsuiteCore\Model\Healthcheck\PrimaryShardsConfigCheck</item>
<item name="replicas_config_check" xsi:type="object">Smile\ElasticsuiteCore\Model\Healthcheck\ReplicasConfigCheck</item>
</argument>
</arguments>
Expand Down

0 comments on commit 4f24b85

Please sign in to comment.