Skip to content

Commit

Permalink
Fix #940
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Aug 27, 2019
1 parent 8692b46 commit 42a1446
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Elasticsearch/Namespaces/IndicesNamespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,17 @@ public function validateQuery(array $params = [])
return $this->performRequest($endpoint);
}

/**
* Alias function to getAlias()
*
* @deprecated added to prevent BC break introduced in 7.2.0
* @see https://github.com/elastic/elasticsearch-php/issues/940
*/
public function getAliases(array $params)
{
return $this->getAlias($params);
}

/**
* Endpoint: indices.get_alias
*
Expand Down

0 comments on commit 42a1446

Please sign in to comment.