Skip to content

Commit f223c74

Browse files
committed
Add sout debug
Signed-off-by: Sicheng Song <sicheng.song@outlook.com>
1 parent 7da0029 commit f223c74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugin/src/main/java/org/opensearch/ml/utils/MLNodeUtils.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,11 @@ public static <T> void parseField(XContentParser parser, Set<T> set, Function<St
6767

6868
public static void validateSchema(String schemaString, String instanceString) throws IOException {
6969
ObjectMapper mapper = new ObjectMapper();
70+
System.out.println(schemaString);
7071
// parse the schema JSON as string
7172
JsonNode schemaNode = mapper.readTree(schemaString);
7273
JsonSchema schema = JsonSchemaFactory.getInstance(VersionFlag.V202012).getSchema(schemaNode);
73-
74+
System.out.println(instanceString);
7475
// JSON data to validate
7576
JsonNode jsonNode = mapper.readTree(instanceString);
7677

0 commit comments

Comments
 (0)