From b7ae2ce4263ee85e4f2492dc6b465d2ac7474e55 Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 21 Aug 2020 15:19:03 +0800 Subject: [PATCH] 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 7576804eb5..cdb586c137 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) } }