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

update cluster stats interface <count> attribute names to 5.x version… #530

Merged
merged 1 commit into from
May 29, 2017

Conversation

wenpos
Copy link
Contributor

@wenpos wenpos commented May 17, 2017

This PR involves the cluster stats interface:
client.ClusterStats().Do(context.Background()).Nodes.Count:
MasterOnly
DataOnly
MasterData
Client
This works fine in ES 2.x, while in 5.x the attribute names modified:
{
"count" : {
"total" : 1,
"data" : 1,
"coordinating_only" : 0,
"master" : 1,
"ingest" : 1
}
So, this PR is going to update the attribute names in branch.v5, thanks.

@olivere
Copy link
Owner

olivere commented May 20, 2017

Thanks for the hint and PR. I will take a look at the whole struct in the ES Java source. I'm taking a few days off so give me a few more days before merging.

@olivere olivere merged commit 84f6401 into olivere:release-branch.v5 May 29, 2017
@olivere
Copy link
Owner

olivere commented May 29, 2017

Confirmed. Thank you. It will roll out with 5.0.39 soon.

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

Successfully merging this pull request may close these issues.

None yet

2 participants