parent
ec3492c67c
commit
a234e45b59
|
@ -134,7 +134,7 @@ public class ClusterHealthRequest extends MasterNodeOperationRequest<ClusterHeal
|
|||
return this;
|
||||
}
|
||||
|
||||
public boolean getLocal() {
|
||||
public boolean isLocal() {
|
||||
return this.local;
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ public class RestClusterHealthAction extends BaseRestHandler {
|
|||
@Override
|
||||
public void handleRequest(final RestRequest request, final RestChannel channel) {
|
||||
ClusterHealthRequest clusterHealthRequest = clusterHealthRequest(RestActions.splitIndices(request.param("index")));
|
||||
clusterHealthRequest.setLocal(request.paramAsBoolean("local", clusterHealthRequest.getLocal()));
|
||||
clusterHealthRequest.setLocal(request.paramAsBoolean("local", clusterHealthRequest.isLocal()));
|
||||
clusterHealthRequest.setListenerThreaded(false);
|
||||
int level = 0;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue