Skip to content

get_aliases ignores the index argument #39

@erickt

Description

@erickt

Here's the code:

def get_aliases(index=default_index, options={})
  index, type, options = extract_scope(options)
  execute(:get_aliases, index, options)
end

As you can see, get_aliases is ignoring the index that is getting passed in. In order to properly get the alias for a single index, you must do client.get_aliases(nil, :index => 'index').

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions