aloyszhang commented on code in PR #9992:
URL: https://github.com/apache/inlong/pull/9992#discussion_r1565553139
##########
inlong-audit/audit-store/src/main/java/org/apache/inlong/audit/service/ElasticsearchService.java:
##########
@@ -241,6 +241,13 @@ protected XContentBuilder generateBuilder() throws
IOException {
}
builder.endObject();
}
+ {
+ builder.startObject("audit_version");
+ {
+ builder.field("type", "keyword");
+ }
+ builder.endObject();
+ }
Review Comment:
plz format this method, too many useless braces.
we can abstract a new method for every `Object`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]