Skip to content

Commit

Permalink
[Hotfix] Fix the value of authType is always null
Browse files Browse the repository at this point in the history
  • Loading branch information
xleoken committed Jun 25, 2024
1 parent c53ec2b commit 1144ef8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public static TableMetaStore buildMetaStore(CatalogMeta catalogMeta) {

// cover auth configs from ams with auth configs in properties
String authType =
catalogMeta.getCatalogProperties().get(CatalogMetaProperties.AUTH_CONFIGS_KEY_TYPE);
catalogMeta.getAuthConfigs().get(CatalogMetaProperties.AUTH_CONFIGS_KEY_TYPE);
if (StringUtils.isNotEmpty(authType)) {
LOG.info("TableMetaStore use auth config in properties, authType is {}", authType);
if (CatalogMetaProperties.AUTH_CONFIGS_VALUE_TYPE_SIMPLE.equalsIgnoreCase(authType)) {
Expand Down

0 comments on commit 1144ef8

Please sign in to comment.