Skip to content

Commit

Permalink
add /_shutdown to the REST endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchy committed Aug 23, 2010
1 parent 5900e01 commit 0e47898
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -42,6 +42,7 @@ public class RestNodesShutdownAction extends BaseRestHandler {
@Inject public RestNodesShutdownAction(Settings settings, Client client, RestController controller) {
super(settings, client);

controller.registerHandler(RestRequest.Method.POST, "/_shutdown", this);
controller.registerHandler(RestRequest.Method.POST, "/_cluster/nodes/_shutdown", this);
controller.registerHandler(RestRequest.Method.POST, "/_cluster/nodes/{nodeId}/_shutdown", this);
}
Expand Down

0 comments on commit 0e47898

Please sign in to comment.