You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/06/27 13:35:06 UTC

[GitHub] [dubbo-go] AlexStocks commented on a change in pull request #634: Mod: fixed some issues in config folder that reported by sonar-qube

AlexStocks commented on a change in pull request #634:
URL: https://github.com/apache/dubbo-go/pull/634#discussion_r446527323



##########
File path: config/config_loader.go
##########
@@ -89,7 +89,7 @@ func loadConsumerConfig() {
 	// init other consumer config
 	conConfigType := consumerConfig.ConfigType
 	for key, value := range extension.GetDefaultConfigReader() {
-		if conConfigType == nil {
+		if conConfigType != nil {

Review comment:
       r u kidding me? why using "!=" instead of "=="?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org