diff --git a/x-pack/plugin/ent-search/src/main/java/org/elasticsearch/xpack/application/search/action/RestPutSearchApplicationAction.java b/x-pack/plugin/ent-search/src/main/java/org/elasticsearch/xpack/application/search/action/RestPutSearchApplicationAction.java index 0a42a29d9be5..cd84c85bc14e 100644 --- a/x-pack/plugin/ent-search/src/main/java/org/elasticsearch/xpack/application/search/action/RestPutSearchApplicationAction.java +++ b/x-pack/plugin/ent-search/src/main/java/org/elasticsearch/xpack/application/search/action/RestPutSearchApplicationAction.java @@ -49,7 +49,7 @@ protected RestChannelConsumer innerPrepareRequest(RestRequest restRequest, NodeC return channel -> client.execute( PutSearchApplicationAction.INSTANCE, request, - new RestToXContentListener<>(channel, PutSearchApplicationAction.Response::status) + new RestToXContentListener<>(channel, PutSearchApplicationAction.Response::status, r -> null) ); } }