You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ba...@apache.org on 2020/08/21 07:09:27 UTC
[dubbo-go] branch 1.5.1 updated: fix subscribe url wrong
This is an automated email from the ASF dual-hosted git repository.
baze pushed a commit to branch 1.5.1
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/1.5.1 by this push:
new 6835365 fix subscribe url wrong
6835365 is described below
commit 6835365de698f8d1a4b82d19b45053ad1bb5cee2
Author: Patrick <dr...@foxmail.com>
AuthorDate: Fri Aug 21 15:09:15 2020 +0800
fix subscribe url wrong
---
registry/servicediscovery/service_discovery_registry.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/registry/servicediscovery/service_discovery_registry.go b/registry/servicediscovery/service_discovery_registry.go
index cdb586c..7576804 100644
--- a/registry/servicediscovery/service_discovery_registry.go
+++ b/registry/servicediscovery/service_discovery_registry.go
@@ -632,7 +632,7 @@ func (icn *InstanceChangeNotify) Notify(event observer.Event) {
if se, ok := event.(*registry.ServiceInstancesChangedEvent); ok {
sdr := icn.serviceDiscoveryRegistry
- sdr.subscribe(sdr.url, icn.notify, se.ServiceName, se.Instances)
+ sdr.subscribe(sdr.url.SubURL, icn.notify, se.ServiceName, se.Instances)
}
}