ChangedenCZD commented on a change in pull request #1353:
URL: https://github.com/apache/dubbo-go/pull/1353#discussion_r683442437



##########
File path: registry/nacos/registry.go
##########
@@ -109,14 +109,16 @@ func createRegisterParam(url *common.URL, serviceName 
string) vo.RegisterInstanc
                Healthy:     true,
                Ephemeral:   true,
                ServiceName: serviceName,
+               GroupName:   groupName,
        }
        return instance
 }
 
 // Register will register the service @url to its nacos registry center
 func (nr *nacosRegistry) Register(url *common.URL) error {
        serviceName := getServiceName(url)
-       param := createRegisterParam(url, serviceName)
+       groupName := nr.URL.GetParam(constant.GROUP_KEY, "")

Review comment:
       Done.




-- 
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