Skip to content

Commit 49ce39d

Browse files
authored
fix typo in metadata manage (apache#2159)
1 parent aabe78a commit 49ce39d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fluss-server/src/main/java/org/apache/fluss/server/coordinator/MetadataManager.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ public class MetadataManager {
8383
private final int maxBucketNum;
8484
private final LakeCatalogDynamicLoader lakeCatalogDynamicLoader;
8585

86-
public static final Set<String> SENSITIVE_TABLE_OPTIOINS = new HashSet<>();
86+
public static final Set<String> SENSITIVE_TABLE_OPTIONS = new HashSet<>();
8787

8888
static {
89-
SENSITIVE_TABLE_OPTIOINS.add("password");
90-
SENSITIVE_TABLE_OPTIOINS.add("secret");
91-
SENSITIVE_TABLE_OPTIOINS.add("key");
89+
SENSITIVE_TABLE_OPTIONS.add("password");
90+
SENSITIVE_TABLE_OPTIONS.add("secret");
91+
SENSITIVE_TABLE_OPTIONS.add("key");
9292
}
9393

9494
/**
@@ -550,7 +550,7 @@ public void removeSensitiveTableOptions(Map<String, String> tableLakeOptions) {
550550
Iterator<Map.Entry<String, String>> iterator = tableLakeOptions.entrySet().iterator();
551551
while (iterator.hasNext()) {
552552
String key = iterator.next().getKey().toLowerCase();
553-
if (SENSITIVE_TABLE_OPTIOINS.stream().anyMatch(key::contains)) {
553+
if (SENSITIVE_TABLE_OPTIONS.stream().anyMatch(key::contains)) {
554554
iterator.remove();
555555
}
556556
}

0 commit comments

Comments
 (0)