From 9be92f20dcd39e0944e8a5dca44bff25d797ba89 Mon Sep 17 00:00:00 2001 From: doleyzi Date: Mon, 15 Apr 2024 19:27:14 +0800 Subject: [PATCH] rename the parameter --- .../org/apache/inlong/audit/service/ElasticsearchService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inlong-audit/audit-store/src/main/java/org/apache/inlong/audit/service/ElasticsearchService.java b/inlong-audit/audit-store/src/main/java/org/apache/inlong/audit/service/ElasticsearchService.java index 8486f449e51..02a23c3a8cd 100644 --- a/inlong-audit/audit-store/src/main/java/org/apache/inlong/audit/service/ElasticsearchService.java +++ b/inlong-audit/audit-store/src/main/java/org/apache/inlong/audit/service/ElasticsearchService.java @@ -248,8 +248,8 @@ protected XContentBuilder generateBuilder() throws IOException { return builder; } - private void doBuild(XContentBuilder builder, String builderName, String value) throws IOException { - builder.startObject(builderName); + private void doBuild(XContentBuilder builder, String name, String value) throws IOException { + builder.startObject(name); builder.field(X_CONTENT_BUILDER_TYPE, value); builder.endObject(); }