Skip to content

Commit

Permalink
Merge branch 'fix/940' into 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Aug 27, 2019
2 parents 4ddc91a + 42a1446 commit f2a8ff0
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 f2a8ff0

Please sign in to comment.