diff --git a/common/src/main/java/org/opensearch/ml/common/CommonValue.java b/common/src/main/java/org/opensearch/ml/common/CommonValue.java index edf76dc35e..6a48cd5081 100644 --- a/common/src/main/java/org/opensearch/ml/common/CommonValue.java +++ b/common/src/main/java/org/opensearch/ml/common/CommonValue.java @@ -391,11 +391,10 @@ public class CommonValue { + " \"" + MLTask.IS_ASYNC_TASK_FIELD + "\" : {\"type\" : \"boolean\"}, \n" - + USER_FIELD_MAPPING - + " }\n" - + "}" + + " \"" + MLTask.REMOTE_JOB_FIELD - + "\" : {\"type\": \"flat_object\"}\n" + + "\" : {\"type\": \"flat_object\"}, \n" + + USER_FIELD_MAPPING + " }\n" + "}";