Skip to content

Commit

Permalink
set cluster info type to Catalog Type
Browse files Browse the repository at this point in the history
  • Loading branch information
Yingjian Wu committed Feb 8, 2024
1 parent a4cd4a5 commit e281689
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static MetacatCatalogConfig createFromMapAndRemoveProperties(
final String clusterEnv = properties.get(Keys.CLUSTER_ENV);
final String clusterRegion = properties.get(Keys.CLUSTER_REGION);
final ClusterInfo clusterInfo =
new ClusterInfo(clusterName, type, clusterAccount, clusterAccountId, clusterEnv, clusterRegion);
new ClusterInfo(clusterName, catalogType, clusterAccount, clusterAccountId, clusterEnv, clusterRegion);

return new MetacatCatalogConfig(catalogType, catalogName, clusterInfo, includeViewsWithTables, schemaWhitelist,
schemaBlacklist, thriftPort, cacheEnabled, interceptorEnabled, hasDataExternal);
Expand Down

0 comments on commit e281689

Please sign in to comment.