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:19:40 UTC

[dubbo-go] branch 1.5.1 updated: revert commit "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 b7ae2ce  revert commit "fix subscribe url wrong"
b7ae2ce is described below

commit b7ae2ce4263ee85e4f2492dc6b465d2ac7474e55
Author: Patrick <dr...@foxmail.com>
AuthorDate: Fri Aug 21 15:19:03 2020 +0800

    revert commit "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 7576804..cdb586c 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.SubURL, icn.notify, se.ServiceName, se.Instances)
+		sdr.subscribe(sdr.url, icn.notify, se.ServiceName, se.Instances)
 	}
 }