diff --git a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/StopDatafeedAction.java b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/StopDatafeedAction.java index 1b5d6500ed7..832e45775d3 100644 --- a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/StopDatafeedAction.java +++ b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/StopDatafeedAction.java @@ -289,7 +289,6 @@ public class StopDatafeedAction if (counter.incrementAndGet() == resolvedDatafeeds.size()) { sendResponseOrFailure(request.getDatafeedId(), listener, failures); } - listener.onResponse(new Response(true)); } @Override public void onFailure(Exception e) {