From e28168925f6d776bd44489d9fb2978bbbef22e3c Mon Sep 17 00:00:00 2001 From: Yingjian Wu Date: Thu, 8 Feb 2024 10:45:53 -0800 Subject: [PATCH] set cluster info type to Catalog Type --- .../netflix/metacat/common/server/spi/MetacatCatalogConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metacat-common-server/src/main/java/com/netflix/metacat/common/server/spi/MetacatCatalogConfig.java b/metacat-common-server/src/main/java/com/netflix/metacat/common/server/spi/MetacatCatalogConfig.java index fcefc8820..e896e3a15 100644 --- a/metacat-common-server/src/main/java/com/netflix/metacat/common/server/spi/MetacatCatalogConfig.java +++ b/metacat-common-server/src/main/java/com/netflix/metacat/common/server/spi/MetacatCatalogConfig.java @@ -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);