This is an automated email from the ASF dual-hosted git repository.
alexstocks 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 a2c0731 fix a logic bug (#1639)
a2c0731 is described below
commit a2c073182e59bf7e16455c6ab4bf0229a71c9741
Author: 刘月财 <[email protected]>
AuthorDate: Fri Dec 3 23:44:39 2021 +0800
fix a logic bug (#1639)
---
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 2bf0a13..9bc8e52 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
}