Skip to content
Permalink
Browse files

add cluster name to cluster health response

  • Loading branch information...
kimchy committed Oct 17, 2010
1 parent 5d54e36 commit 648da2e6ff7f955ee777f499986335953792a2d8
@@ -84,6 +84,7 @@
XContentBuilder builder = RestXContentBuilder.restContentBuilder(request);
builder.startObject();

builder.field("cluster_name", response.clusterName());
builder.field("status", response.status().name().toLowerCase());
builder.field("timed_out", response.timedOut());
builder.field("number_of_nodes", response.numberOfNodes());

0 comments on commit 648da2e

Please sign in to comment.
You can’t perform that action at this time.