You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by la...@apache.org on 2021/11/11 06:26:03 UTC
[dubbo-go] branch 3.0 updated: start application (#1571)
This is an automated email from the ASF dual-hosted git repository.
laurence pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 3182c7a start application (#1571)
3182c7a is described below
commit 3182c7ad78e4bd46bbbc1f6652313f395bee88d2
Author: wangxw <24...@qq.com>
AuthorDate: Thu Nov 11 14:25:56 2021 +0800
start application (#1571)
Co-authored-by: wangxiaowei14227 <wa...@autohome.com.cn>
Co-authored-by: lizhixin.lzx <li...@alibaba-inc.com>
Co-authored-by: LaurenceLiZhixin <38...@qq.com>
---
config/root_config.go | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/config/root_config.go b/config/root_config.go
index edf4238..33efb7a 100644
--- a/config/root_config.go
+++ b/config/root_config.go
@@ -198,12 +198,11 @@ func (rc *RootConfig) Init() error {
func (rc *RootConfig) Start() {
startOnce.Do(func() {
+ rc.Consumer.Load()
rc.Provider.Load()
// todo if register consumer instance or has exported services
exportMetadataService()
registerServiceInstance()
-
- rc.Consumer.Load()
})
}