Skip to content

Commit

Permalink
fix json error (opensearch-project#2234)
Browse files Browse the repository at this point in the history
Signed-off-by: Jing Zhang <[email protected]>
  • Loading branch information
jngz-es authored Mar 19, 2024
1 parent d645c83 commit 461199a
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 461199a

Please sign in to comment.