From ac80c89f48a83f299ce9a3c1972b5b4a70b6be38 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 12 Apr 2018 16:20:08 +0900 Subject: [PATCH] ing --- registry/rest-registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/rest-registry.go b/registry/rest-registry.go index fba1a18..763bb40 100644 --- a/registry/rest-registry.go +++ b/registry/rest-registry.go @@ -116,7 +116,7 @@ func (rr *restRegistry) InvokeWithBytes(method string, params [][]byte, leadingP } for indexC := 0; indexC < len(params); indexC++ { - if pValues[indexC+lParamLen].Type().Kind() != reflect.String { + if pValues[indexC+lParamLen].Elem().Type().Kind() != reflect.String { _params = append(_params, string(params[indexC])) continue }