LaurenceLiZhixin commented on a change in pull request #1491:
URL: https://github.com/apache/dubbo-go/pull/1491#discussion_r716702440
##########
File path: config/dubbo_bootstrap.go
##########
@@ -71,16 +72,27 @@ func (rc *RootConfig) Init() error {
if err := rc.Application.Init(); err != nil {
return err
}
- if err := initProtocolsConfig(rc); err != nil {
- return err
+
+ // init protocol
+ protocols := rc.Protocols
Review comment:
这个地方感觉没必要加默认协议吧
--
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]