You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by la...@apache.org on 2022/05/30 10:18:47 UTC

[dubbo-go] branch export-hessian-type-api created (now e5e2efa63)

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

laurence pushed a change to branch export-hessian-type-api
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


      at e5e2efa63 Fix: export method getArgsTypeList for extension

This branch includes the following new commits:

     new e5e2efa63 Fix: export method getArgsTypeList for extension

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[dubbo-go] 01/01: Fix: export method getArgsTypeList for extension

Posted by la...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

laurence pushed a commit to branch export-hessian-type-api
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git

commit e5e2efa63e57f5e22d7231dc8d3cc72e4ed108e6
Author: LaurenceLiZhixin <38...@qq.com>
AuthorDate: Mon May 30 18:18:25 2022 +0800

    Fix: export method getArgsTypeList for extension
---
 protocol/dubbo/impl/hessian.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/protocol/dubbo/impl/hessian.go b/protocol/dubbo/impl/hessian.go
index 79e531abf..c23584366 100644
--- a/protocol/dubbo/impl/hessian.go
+++ b/protocol/dubbo/impl/hessian.go
@@ -129,7 +129,7 @@ func marshalRequest(encoder *hessian.Encoder, p DubboPackage) ([]byte, error) {
 		logger.Infof("request args are: %+v", request.Params)
 		return nil, perrors.Errorf("@params is not of type: []interface{}")
 	}
-	types, err := getArgsTypeList(args)
+	types, err := GetArgsTypeList(args)
 	if err != nil {
 		return nil, perrors.Wrapf(err, " PackRequest(args:%+v)", args)
 	}
@@ -392,7 +392,7 @@ func buildServerSidePackageBody(pkg *DubboPackage) {
 	}
 }
 
-func getArgsTypeList(args []interface{}) (string, error) {
+func GetArgsTypeList(args []interface{}) (string, error) {
 	var (
 		typ   string
 		types string