From d81a35d2da8fa8a5ac838659519a696425086ec2 Mon Sep 17 00:00:00 2001 From: Sean Kao Date: Fri, 14 Jun 2024 12:17:11 -0700 Subject: [PATCH] rename function Signed-off-by: Sean Kao --- .../flint/core/storage/FlintOpenSearchMetadataLogService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flint-core/src/main/scala/org/opensearch/flint/core/storage/FlintOpenSearchMetadataLogService.java b/flint-core/src/main/scala/org/opensearch/flint/core/storage/FlintOpenSearchMetadataLogService.java index 925c4d98d..a49e45829 100644 --- a/flint-core/src/main/scala/org/opensearch/flint/core/storage/FlintOpenSearchMetadataLogService.java +++ b/flint-core/src/main/scala/org/opensearch/flint/core/storage/FlintOpenSearchMetadataLogService.java @@ -36,7 +36,7 @@ public class FlintOpenSearchMetadataLogService implements FlintMetadataLogServic public FlintOpenSearchMetadataLogService(FlintOptions options) { this.options = options; this.dataSourceName = options.getDataSourceName(); - this.metaLogIndexName = constructMetaLogIndexName(); + this.metaLogIndexName = constructMetadataLogIndexName(); } @Override @@ -87,7 +87,7 @@ private void initIndexMetadataLog() { } } - private String constructMetaLogIndexName() { + private String constructMetadataLogIndexName() { return dataSourceName.isEmpty() ? METADATA_LOG_INDEX_NAME_PREFIX : METADATA_LOG_INDEX_NAME_PREFIX + "_" + dataSourceName; }