[ML] Fix typo in assignment_explanation field name

Closes  elastic/x-pack-elasticsearch#1017

Original commit: elastic/x-pack-elasticsearch@b18e2a38fc
This commit is contained in:
Dimitrios Athanasiou 2017-04-08 13:17:14 +01:00
parent e8399cfccf
commit 10df00beb1
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ public class GetDatafeedsStatsAction extends Action<GetDatafeedsStatsAction.Requ
builder.endObject();
}
if (assignmentExplanation != null) {
builder.field("assigment_explanation", assignmentExplanation);
builder.field("assignment_explanation", assignmentExplanation);
}
builder.endObject();
return builder;

View File

@ -241,7 +241,7 @@ public class GetJobsStatsAction extends Action<GetJobsStatsAction.Request, GetJo
builder.endObject();
}
if (assignmentExplanation != null) {
builder.field("assigment_explanation", assignmentExplanation);
builder.field("assignment_explanation", assignmentExplanation);
}
if (openTime != null) {
builder.field("open_time", openTime.getStringRep());