From 461199a6a7a2b8e1abf9bfa81cc94e39a323b4ce Mon Sep 17 00:00:00 2001 From: Jing Zhang Date: Tue, 19 Mar 2024 15:41:06 -0700 Subject: [PATCH] fix json error (#2234) Signed-off-by: Jing Zhang --- .../main/java/org/opensearch/ml/common/CommonValue.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 29980003fa..db178c7a8c 100644 --- a/common/src/main/java/org/opensearch/ml/common/CommonValue.java +++ b/common/src/main/java/org/opensearch/ml/common/CommonValue.java @@ -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"