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: [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]