You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/02/17 06:02:53 UTC
[GitHub] [dubbo-go] zhaoyunxing92 commented on a change in pull request #1754: config merge
zhaoyunxing92 commented on a change in pull request #1754:
URL: https://github.com/apache/dubbo-go/pull/1754#discussion_r808700582
##########
File path: config/config_loader_options.go
##########
@@ -49,18 +52,22 @@ type loaderConf struct {
// user provide rootConfig built by config api
rc *RootConfig
+
+ // config file name
+ name string
}
func NewLoaderConf(opts ...LoaderConfOption) *loaderConf {
- configFilePath := "../conf/dubbogo.yaml"
+ configFilePath := "./conf/dubbogo.yaml"
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org