fix nodes info to accept node(s) ids as well

This commit is contained in:
kimchy 2010-02-24 22:45:24 +02:00
parent c7389df8e0
commit e3af8716ed

View File

@ -43,7 +43,7 @@ public class RestNodesInfoAction extends BaseRestHandler {
super(settings, client);
controller.registerHandler(RestRequest.Method.GET, "/_cluster/nodes", this);
controller.registerHandler(RestRequest.Method.GET, "/_cluster/nodes/${nodeId}", this);
controller.registerHandler(RestRequest.Method.GET, "/_cluster/nodes/{nodeId}", this);
}
@Override public void handleRequest(final RestRequest request, final RestChannel channel) {