[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:
parent
e8399cfccf
commit
10df00beb1
|
@ -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;
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue