This is an automated email from the ASF dual-hosted git repository.
zhangzicheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new 5cc690d783 AbstractNodeDataSyncService load discoverUpstream on
startup (#5472) (#5473)
5cc690d783 is described below
commit 5cc690d78385beafeacd826b4e612ccf52788db2
Author: dyjxg4xygary <[email protected]>
AuthorDate: Sun Mar 10 15:18:07 2024 +0800
AbstractNodeDataSyncService load discoverUpstream on startup (#5472) (#5473)
---
.../org/apache/shenyu/sync/data/core/AbstractNodeDataSyncService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/shenyu-sync-data-center/shenyu-sync-data-api/src/main/java/org/apache/shenyu/sync/data/core/AbstractNodeDataSyncService.java
b/shenyu-sync-data-center/shenyu-sync-data-api/src/main/java/org/apache/shenyu/sync/data/core/AbstractNodeDataSyncService.java
index b740d9eb58..c62d36e8f9 100644
---
a/shenyu-sync-data-center/shenyu-sync-data-api/src/main/java/org/apache/shenyu/sync/data/core/AbstractNodeDataSyncService.java
+++
b/shenyu-sync-data-center/shenyu-sync-data-api/src/main/java/org/apache/shenyu/sync/data/core/AbstractNodeDataSyncService.java
@@ -130,7 +130,7 @@ public abstract class AbstractNodeDataSyncService {
watchCommonList(NacosPathConstants.PROXY_SELECTOR_DATA_ID +
DefaultNodeConstants.JOIN_POINT + pluginName + DefaultNodeConstants.JOIN_POINT,
this::cacheProxySelectorData,
this::unCacheProxySelectorData);
watchCommonList(NacosPathConstants.DISCOVERY_DATA_ID +
DefaultNodeConstants.JOIN_POINT + pluginName + DefaultNodeConstants.JOIN_POINT,
- this::cacheProxySelectorData,
this::unCacheProxySelectorData);
+ this::cacheDiscoveryUpstreamData,
this::unCacheDiscoveryUpstreamData);
});
}