Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong request endpoint used in CatAllocationHandler #1697

Closed
WangTaoTheTonic opened this issue Apr 19, 2019 · 0 comments
Closed

Wrong request endpoint used in CatAllocationHandler #1697

WangTaoTheTonic opened this issue Apr 19, 2019 · 0 comments

Comments

@WangTaoTheTonic
Copy link
Contributor

  implicit object CatAllocationHandler extends Handler[CatAllocation, Seq[CatAllocationResponse]] {

    override def build(request: CatAllocation): ElasticRequest =
      ElasticRequest("GET", "/_cat/aliases", Map("v" -> "", "format" -> "json", "bytes" -> "b"))
  }

As codes says, it used /_cat/aliases in CatAllocationHandler, which is wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants