Skip to content

Commit 4323468

Browse files
Artistanpolyfractal
authored andcommitted
fix for invalid GET /_aliases route. (#663)
* fix for new /_alias instead of /_aliases * No longer a valid endpoint https://github.com/elastic/elasticsearch/tree/6.x/rest-api-spec/src/main/resources/rest-api-spec/api * remove invalid route.
1 parent 68e3e16 commit 4323468

File tree

2 files changed

+2
-77
lines changed

2 files changed

+2
-77
lines changed

src/Elasticsearch/Endpoints/Indices/Aliases/Get.php

Lines changed: 0 additions & 75 deletions
This file was deleted.

src/Elasticsearch/Namespaces/IndicesNamespace.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,8 +914,8 @@ public function getAliases($params = array())
914914
/** @var callback $endpointBuilder */
915915
$endpointBuilder = $this->endpoints;
916916

917-
/** @var \Elasticsearch\Endpoints\Indices\Aliases\Get $endpoint */
918-
$endpoint = $endpointBuilder('Indices\Aliases\Get');
917+
/** @var \Elasticsearch\Endpoints\Indices\Alias\Get $endpoint */
918+
$endpoint = $endpointBuilder('Indices\Alias\Get');
919919
$endpoint->setIndex($index)
920920
->setName($name);
921921
$endpoint->setParams($params);

0 commit comments

Comments
 (0)