Skip to content

Commit

Permalink
fix: reference_config add consumer category (#1659) (#1672)
Browse files Browse the repository at this point in the history
Co-authored-by: LaurenceLiZhixin <382673304@qq.com>
  • Loading branch information
xfstart07 and LaurenceLiZhixin committed Dec 28, 2021
1 parent 6710138 commit f578cd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/reference_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ func (rc *ReferenceConfig) getURLMap() url.Values {

urlMap.Set(constant.ReleaseKey, "dubbo-golang-"+constant.Version)
urlMap.Set(constant.SideKey, (common.RoleType(common.CONSUMER)).Role())
urlMap.Set(constant.CategoryKey, constant.ConsumerCategory)

if len(rc.RequestTimeout) != 0 {
urlMap.Set(constant.TimeoutKey, rc.RequestTimeout)
Expand Down

0 comments on commit f578cd6

Please sign in to comment.