Skip to content

Commit

Permalink
revert commit "fix subscribe url wrong"
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick0308 committed Aug 21, 2020
1 parent 6835365 commit b7ae2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/servicediscovery/service_discovery_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit b7ae2ce

Please sign in to comment.