Fix integ test after field rename
Original commit: elastic/x-pack-elasticsearch@4ebb93fb44594e3d2d1c1d410715eb361433e001
@@ -211,7 +211,7 @@ public class MlJobIT extends ESRestTestCase {
" \"analysis_config\" : {\n" +
" \"detectors\" :[{\"function\":\"metric\",\"field_name\":\"responsetime\"}]\n" +
" },\n" +
- " \"index_name\" : \"%s\"}";
+ " \"results_index_name\" : \"%s\"}";
String jobConfig = String.format(Locale.ROOT, jobTemplate, "index-1");
@@ -233,7 +233,7 @@ public class MlJobIT extends ESRestTestCase {
" \"analysis_config\" : {\n" +
" \"detectors\" :[{\"function\":\"metric\",\"field_name\":\"responsetime\"}]\n" +
" },\n" +
- " \"index_name\" : \"%s\"}";
+ " \"results_index_name\" : \"%s\"}";
String jobId1 = "aliased-job-1";
String indexName = "non-default-index";
