wlgusqkr opened a new pull request, #3364: URL: https://github.com/apache/dubbo-go/pull/3364
###Description Fixes #3359 (issue) Application-level service discovery fetches metadata through the metadata service URL. When that metadata service protocol is not registered, return an actionable error instead of panicking through MustGet. For dubbo metadata service URLs, the error now explains that the consumer needs to import dubbo.apache.org/dubbo-go/v3/protocol/dubbo. Add a metadata client test to verify the missing protocol path is handled without panic. ### Checklist - [x] I confirm the target branch is `develop` - [x] Code has passed local testing - [x] I have added tests that prove my fix is effective or that my feature works -- 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]
