You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by xi...@apache.org on 2020/04/07 11:49:50 UTC

[dubbo-go] branch develop updated: Fix: remove category key

This is an automated email from the ASF dual-hosted git repository.

xinminghe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


The following commit(s) were added to refs/heads/develop by this push:
     new 64d8751  Fix: remove category key
     new 284aa48  Merge pull request #465 from hxmhlt/rm_category_key
64d8751 is described below

commit 64d87515eb7a3d2e6dcb0c6f9f938012a7807afa
Author: vito.he <hx...@163.com>
AuthorDate: Tue Apr 7 14:45:19 2020 +0800

    Fix: remove category key
---
 config/reference_config.go | 1 -
 config/service_config.go   | 1 -
 2 files changed, 2 deletions(-)

diff --git a/config/reference_config.go b/config/reference_config.go
index b9f3da1..dcdba95 100644
--- a/config/reference_config.go
+++ b/config/reference_config.go
@@ -188,7 +188,6 @@ 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.CATEGORY_KEY, (common.RoleType(common.CONSUMER)).String())
 	urlMap.Set(constant.RELEASE_KEY, "dubbo-golang-"+constant.Version)
 	urlMap.Set(constant.SIDE_KEY, (common.RoleType(common.CONSUMER)).Role())
 
diff --git a/config/service_config.go b/config/service_config.go
index d8b1551..50bf5e1 100644
--- a/config/service_config.go
+++ b/config/service_config.go
@@ -196,7 +196,6 @@ func (c *ServiceConfig) getUrlMap() url.Values {
 	urlMap.Set(constant.GROUP_KEY, c.Group)
 	urlMap.Set(constant.VERSION_KEY, c.Version)
 	urlMap.Set(constant.ROLE_KEY, strconv.Itoa(common.PROVIDER))
-	urlMap.Set(constant.CATEGORY_KEY, (common.RoleType(common.PROVIDER)).String())
 	urlMap.Set(constant.RELEASE_KEY, "dubbo-golang-"+constant.Version)
 	urlMap.Set(constant.SIDE_KEY, (common.RoleType(common.PROVIDER)).Role())