Skip to content

Commit

Permalink
fix for invalid GET /_aliases route. (#663)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
Artistan authored and polyfractal committed Nov 30, 2017
1 parent a13544f commit 6d467fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 77 deletions.
75 changes: 0 additions & 75 deletions src/Elasticsearch/Endpoints/Indices/Aliases/Get.php

This file was deleted.

4 changes: 2 additions & 2 deletions src/Elasticsearch/Namespaces/IndicesNamespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -914,8 +914,8 @@ public function getAliases($params = array())
/** @var callback $endpointBuilder */
$endpointBuilder = $this->endpoints;

/** @var \Elasticsearch\Endpoints\Indices\Aliases\Get $endpoint */
$endpoint = $endpointBuilder('Indices\Aliases\Get');
/** @var \Elasticsearch\Endpoints\Indices\Alias\Get $endpoint */
$endpoint = $endpointBuilder('Indices\Alias\Get');
$endpoint->setIndex($index)
->setName($name);
$endpoint->setParams($params);
Expand Down

0 comments on commit 6d467fa

Please sign in to comment.