more api cleaning

This commit is contained in:
kimchy 2011-02-09 00:37:27 +02:00
parent f7aee2a423
commit d442f33d0b
1 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,6 @@ import org.elasticsearch.transport.TransportService;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReferenceArray;
@ -136,7 +135,7 @@ public class TransportNodesRestartAction extends TransportNodesOperationAction<N
}
}
}
}, request.delay.millis(), TimeUnit.MILLISECONDS);
}, request.delay);
return new NodesRestartResponse.NodeRestartResponse(clusterService.state().nodes().localNode());
}