Skip to content

Commit 9edbe3a

Browse files
no limit on data role for nodes selection (shards)
1 parent c764aa8 commit 9edbe3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Controller/ElasticsearchShardController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function index(Request $request): Response
4848
{
4949
$this->denyAccessUnlessGranted('SHARDS', 'global');
5050

51-
$nodes = $this->elasticsearchNodeManager->selectNodes(['data' => 'yes']);
51+
$nodes = $this->elasticsearchNodeManager->selectNodes();
5252

5353
$form = $this->createForm(ElasticsearchShardFilterType::class, null, ['node' => $nodes]);
5454

@@ -91,7 +91,7 @@ public function stats(Request $request): Response
9191
{
9292
$this->denyAccessUnlessGranted('SHARDS_STATS', 'global');
9393

94-
$nodes = $this->elasticsearchNodeManager->selectNodes(['data' => 'yes']);
94+
$nodes = $this->elasticsearchNodeManager->selectNodes();
9595

9696
$form = $this->createForm(ElasticsearchShardFilterType::class, null, ['node' => $nodes]);
9797

0 commit comments

Comments
 (0)