Skip to content
Snippets Groups Projects
Commit bb39786f authored by Patrick's avatar Patrick
Browse files

fix subscribe url wrong

parent b7ae2ce4
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment