proper reason for cluster state task

This commit is contained in:
Shay Banon 2013-03-02 15:48:01 +01:00
parent 50d121315b
commit 5dd18acd0e
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public class TransportClusterHealthAction extends TransportMasterNodeOperationAc
if (request.waitForEvents() != null) { if (request.waitForEvents() != null) {
final CountDownLatch latch = new CountDownLatch(1); final CountDownLatch latch = new CountDownLatch(1);
clusterService.submitStateUpdateTask("cluster_reroute (api)", request.waitForEvents(), new ProcessedClusterStateUpdateTask() { clusterService.submitStateUpdateTask("cluster_health (wait_for_events [" + request.waitForEvents() + "])", request.waitForEvents(), new ProcessedClusterStateUpdateTask() {
@Override @Override
public ClusterState execute(ClusterState currentState) { public ClusterState execute(ClusterState currentState) {
return currentState; return currentState;