FoghostCn commented on code in PR #2859:
URL: https://github.com/apache/dubbo-go/pull/2859#discussion_r2072509528


##########
registry/nacos/listener.go:
##########
@@ -176,7 +176,7 @@ func (nl *nacosListener) listenService(serviceName string) 
error {
        if nl.namingClient == nil {
                return perrors.New("nacos naming namingClient stopped")
        }
-       nl.subscribeParam = createSubscribeParam(serviceName, nl.regURL, 
nl.Callback)
+       nl.subscribeParam = createSubscribeParam(serviceName, 
nl.regURL.GetParam(constant.RegistryGroupKey, defaultGroup), nl.Callback)

Review Comment:
   这里优先从URL取,取不到才会用默认值



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to