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 2019/09/17 06:23:25 UTC

[dubbo-go] branch master updated: fix issue:204

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 53bce2d  fix issue:204
     new 4cf8f0e  Merge pull request #205 from joeyzhouy/master
53bce2d is described below

commit 53bce2d6b8678251efb85abf6164163575d85ad7
Author: justimkiss <ju...@126.com>
AuthorDate: Tue Sep 17 13:47:08 2019 +0800

    fix issue:204
---
 protocol/dubbo/client.go | 2 +-
 protocol/dubbo/server.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/protocol/dubbo/client.go b/protocol/dubbo/client.go
index 2cec5aa..4927f51 100644
--- a/protocol/dubbo/client.go
+++ b/protocol/dubbo/client.go
@@ -59,7 +59,7 @@ func init() {
 		return
 	}
 	dubboConf := protocolConf.(map[interface{}]interface{})[DUBBO]
-	if protocolConf == nil {
+	if dubboConf == nil {
 		logger.Warnf("dubboConf is nil")
 		return
 	}
diff --git a/protocol/dubbo/server.go b/protocol/dubbo/server.go
index 8daeee0..5f93a79 100644
--- a/protocol/dubbo/server.go
+++ b/protocol/dubbo/server.go
@@ -48,7 +48,7 @@ func init() {
 		return
 	}
 	dubboConf := protocolConf.(map[interface{}]interface{})[DUBBO]
-	if protocolConf == nil {
+	if dubboConf == nil {
 		logger.Warnf("dubboConf is nil")
 		return
 	}