From da2bcd12d5aa23c74b844841b35c3c362af1d1b5 Mon Sep 17 00:00:00 2001 From: Miracle Date: Thu, 9 Jan 2025 14:46:24 +0800 Subject: [PATCH] Resolved the issue where the DISCOVER_UPSTREAM configuration item always failed to synchronize in the http-polling configuration data sync mode; (#5889) Co-authored-by: Vincent --- .../sync/data/http/refresh/DiscoveryUpstreamDataRefresh.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shenyu-sync-data-center/shenyu-sync-data-http/src/main/java/org/apache/shenyu/sync/data/http/refresh/DiscoveryUpstreamDataRefresh.java b/shenyu-sync-data-center/shenyu-sync-data-http/src/main/java/org/apache/shenyu/sync/data/http/refresh/DiscoveryUpstreamDataRefresh.java index a64bcf8a2afd..3ee22a1fc0ab 100644 --- a/shenyu-sync-data-center/shenyu-sync-data-http/src/main/java/org/apache/shenyu/sync/data/http/refresh/DiscoveryUpstreamDataRefresh.java +++ b/shenyu-sync-data-center/shenyu-sync-data-http/src/main/java/org/apache/shenyu/sync/data/http/refresh/DiscoveryUpstreamDataRefresh.java @@ -67,7 +67,7 @@ protected boolean updateCacheIfNeed(final ConfigData result) @Override public ConfigData cacheConfigData() { - return GROUP_CACHE.get(ConfigGroupEnum.PROXY_SELECTOR); + return GROUP_CACHE.get(ConfigGroupEnum.DISCOVER_UPSTREAM); } }