Skip to content

Commit

Permalink
Fix nacos registry "*" subscription. (#2713)
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenlj committed Jul 22, 2024
1 parent 6c411d5 commit 6c5fd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/nacos/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (nr *nacosRegistry) Subscribe(url *common.URL, notifyListener registry.Noti
if role != common.CONSUMER {
return nil
}
serviceName := getServiceName(url)
serviceName := url.GetParam(constant.InterfaceKey, "")
if serviceName == "*" {
// Subscribe to all services
for {
Expand Down

0 comments on commit 6c5fd6d

Please sign in to comment.