You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/12/03 04:05:40 UTC
[dubbo-go] branch master updated: fix unexported bug (#1634)
This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/master by this push:
new 5604ba5 fix unexported bug (#1634)
5604ba5 is described below
commit 5604ba5ba2b7be1aa7746dd2b851c8cc3d338f72
Author: 刘月财 <38...@users.noreply.github.com>
AuthorDate: Fri Dec 3 12:05:34 2021 +0800
fix unexported bug (#1634)
---
config/service_config.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/service_config.go b/config/service_config.go
index 769ce5e..809219b 100644
--- a/config/service_config.go
+++ b/config/service_config.go
@@ -164,7 +164,7 @@ func (svc *ServiceConfig) Export() error {
logger.Errorf(err.Error())
return err
}
- if svc.unexported != nil && svc.exported.Load() {
+ if svc.exported != nil && svc.exported.Load() {
logger.Warnf("The service %v has already exported!", svc.Interface)
return nil
}