Skip to content

Commit

Permalink
fix json error (#2234) (#2240)
Browse files Browse the repository at this point in the history
Signed-off-by: Jing Zhang <[email protected]>
(cherry picked from commit 461199a)

Co-authored-by: Jing Zhang <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and jngz-es authored Mar 19, 2024
1 parent d3e7503 commit 2b7479b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,13 @@ public class CommonValue {
+ MLModel.LAST_UNDEPLOYED_TIME_FIELD
+ "\": {\"type\": \"date\", \"format\": \"strict_date_time||epoch_millis\"},\n"
+ " \""
+ MLModel.GUARDRAILS_FIELD
+ "\" : {\"type\": \"flat_object\"},\n"
+ " \""
+ MLModel.CONNECTOR_FIELD
+ "\": {" + ML_CONNECTOR_INDEX_FIELDS + " }\n},"
+ USER_FIELD_MAPPING
+ " },\n"
+ " \""
+ MLModel.GUARDRAILS_FIELD
+ "\" : {\"type\": \"flat_object\"},\n"
+ " }\n"
+ "}";

public static final String ML_TASK_INDEX_MAPPING = "{\n"
Expand Down

0 comments on commit 2b7479b

Please sign in to comment.