Prevent the stop data feed listener from being called multiple times (elastic/x-pack-elasticsearch#1075)
Original commit: elastic/x-pack-elasticsearch@464d5ae6ba40cfb13eb24cada08971b9c56395d4
@@ -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) {
