CAICAIIs opened a new pull request, #3197:
URL: https://github.com/apache/dubbo-go/pull/3197

   Remove dependencies on config package from:
   - protocol/triple/health/healthServer.go
   - protocol/triple/reflection/serverreflection.go
   
   Both services already register via server.SetProviderServices() in init(), 
so config.SetProviderServiceWithInfo() calls are no longer needed.
   
   config.SetProviderServiceWithInfo():
   - 这个函数只是将服务和元数据存储在 config 包的 map 中
   - 这些 map (proServices, proServicesInfo) 实际上在新的架构中已经不再使用
   - 而新架构中服务已通过 server.SetProviderServices() 注册
   
   ### Description
   Related to #2741 
   
   ### 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]

Reply via email to