This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.2 by this push:
new 77cbbcee3f fix (#11985)
77cbbcee3f is described below
commit 77cbbcee3fd2f2650ffa61a7b352580fdefc47ff
Author: wxbty <[email protected]>
AuthorDate: Sun Apr 2 20:11:10 2023 +0800
fix (#11985)
---
.../java/org/apache/dubbo/registry/client/AbstractServiceDiscovery.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/AbstractServiceDiscovery.java
b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/AbstractServiceDiscovery.java
index f8b8d29a4f..19905498a9 100644
---
a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/AbstractServiceDiscovery.java
+++
b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/AbstractServiceDiscovery.java
@@ -228,7 +228,7 @@ public abstract class AbstractServiceDiscovery implements
ServiceDiscovery {
int triedTimes = 0;
while (triedTimes < 3) {
- metadata = MetricsEventBus.post(new
MetadataEvent.PushEvent(applicationModel),
+ metadata = MetricsEventBus.post(new
MetadataEvent.SubscribeEvent(applicationModel),
() -> MetadataUtils.getRemoteMetadata(revision, instances,
metadataReport),
result -> result != MetadataInfo.EMPTY
);