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 2021/05/28 02:36:08 UTC

[GitHub] [dubbo-go] hxmhlt commented on a change in pull request #1218: application service discovery support nacos reporter

hxmhlt commented on a change in pull request #1218:
URL: https://github.com/apache/dubbo-go/pull/1218#discussion_r641164416



##########
File path: config/reference_config.go
##########
@@ -240,7 +240,7 @@ func (c *ReferenceConfig) getURLMap() url.Values {
 	urlMap.Set(constant.VERSION_KEY, c.Version)
 	urlMap.Set(constant.GENERIC_KEY, strconv.FormatBool(c.Generic))
 	urlMap.Set(constant.ROLE_KEY, strconv.Itoa(common.CONSUMER))
-	urlMap.Set(constant.PROVIDER_BY, c.ProvideBy)
+	urlMap.Set(constant.PROVIDER_BY, c.ProvidedBy)

Review comment:
       Rename the constant as PROVIDED_BY ?  :)




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