Skip to content

Commit

Permalink
Move to getAlias API. Fixes compat with elasticsearch/13906
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Mar 10, 2016
1 parent 320fef3 commit c731453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/public/index_patterns/_mapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default function MapperService(Private, Promise, es, config, kbnIndex) {
};

self.getIndicesForIndexPattern = function (indexPattern) {
return es.indices.getAliases({
return es.indices.getAlias({
index: patternToWildcard(indexPattern.id)
})
.then(function (resp) {
Expand Down

0 comments on commit c731453

Please sign in to comment.