stats: fix serialization error

Original commit: elastic/x-pack-elasticsearch@5210ca9ee7
This commit is contained in:
Martijn van Groningen 2015-05-21 11:29:32 +02:00
parent 283445b9d8
commit 60c7e92ced
1 changed files with 1 additions and 1 deletions

View File

@ -82,8 +82,8 @@ public class WatchExecutionSnapshot implements Streamable, ToXContent {
watchRecordId = in.readString();
triggeredTime = new DateTime(in.readVLong(), DateTimeZone.UTC);
executionTime = new DateTime(in.readVLong(), DateTimeZone.UTC);
int size = in.readVInt();
phase = ExecutionPhase.parse(in.readString());
int size = in.readVInt();
executionStackTrace = new StackTraceElement[size];
for (int i = 0; i < size; i++) {
String declaringClass = in.readString();