This commit is contained in:
Asim 2016-11-07 18:54:44 +00:00
parent 0d84fb1913
commit 2df46131eb

View File

@ -21,7 +21,7 @@ func TestCallWrapper(t *testing.T) {
address := "10.1.10.1:8080" address := "10.1.10.1:8080"
wrap := func(cf CallFunc) CallFunc { wrap := func(cf CallFunc) CallFunc {
return func(ctx context.Context, addr string, req Request, rsp interface{}, opts ...CallOptions) error { return func(ctx context.Context, addr string, req Request, rsp interface{}, opts CallOptions) error {
called = true called = true
if req.Service() != service { if req.Service() != service {