xxs588 commented on code in PR #3264:
URL: https://github.com/apache/dubbo-go/pull/3264#discussion_r2954613242


##########
common/extension/config_center_factory.go:
##########
@@ -25,17 +25,18 @@ import (
        "dubbo.apache.org/dubbo-go/v3/config_center"
 )
 
-var configCenterFactories = make(map[string]func() 
config_center.DynamicConfigurationFactory)
+var configCenterFactories = NewRegistry[func() 
config_center.DynamicConfigurationFactory]("config center")

Review Comment:
   已按建议修正:将 `config_center_factory.go` 中的 registry 名称从 `config center` 调整为 
`config center factory`,避免语义歧义。
   
   对应提交:bc5c9e01
   本地验证:make fmt, make lint, go test -race ./common/extension/... 均通过。谢谢指正。



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