Fixes compile error due to client interface change
This commit is contained in:
parent
d062556754
commit
e6b427c8e4
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue