From 5214de23a11445b352ed6acfae9fe55548c921e6 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Tue, 22 Nov 2016 10:40:23 +0100 Subject: [PATCH] bug fix: create empty response in post data action for serialization added getter for data counts and initialize resetStart / resetEnd with empty strings Original commit: elastic/x-pack-elasticsearch@d4925506e6a8c2167bd99f18cf6db60e7418506b --- .../xpack/prelert/action/PostDataAction.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/action/PostDataAction.java b/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/action/PostDataAction.java index a854cc6176f..6e89455c1ee 100644 --- a/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/action/PostDataAction.java +++ b/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/action/PostDataAction.java @@ -53,7 +53,7 @@ public class PostDataAction extends Action { @@ -71,10 +71,17 @@ public class PostDataAction extends Action