Fixes compile error due to client interface change
@@ -9,7 +9,6 @@ package org.elasticsearch.xpack.indexlifecycle;
import org.elasticsearch.action.Action;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.ActionRequest;
-import org.elasticsearch.action.ActionRequestBuilder;
import org.elasticsearch.action.ActionResponse;
import org.elasticsearch.client.Client;
import org.elasticsearch.client.support.AbstractClient;
@@ -47,9 +46,9 @@ public class LifecyclePolicySecurityClient extends AbstractClient {
}
@Override
- protected <Request extends ActionRequest, Response extends ActionResponse,
- RequestBuilder extends ActionRequestBuilder<Request, Response>> void doExecute(
- Action<Response> action, Request request, ActionListener<Response> listener) {
+ protected <Request extends ActionRequest, Response extends ActionResponse> void doExecute(Action<Response> action, Request request,
+ ActionListener<Response> listener) {
ClientHelper.executeWithHeadersAsync(headers, origin, client, action, request, listener);
}
+
}
