Fixes compile error due to client interface change

This commit is contained in:
Colin Goodheart-Smithe 2018-06-22 10:03:43 +01:00
parent d062556754
commit e6b427c8e4
No known key found for this signature in database
GPG Key ID: F975E7BDD739B3C7
1 changed files with 3 additions and 4 deletions

View File

@ -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);
}
}