From 7ee35f50b1a020790d28f0a7643bc821b4155ef1 Mon Sep 17 00:00:00 2001 From: Asim Date: Mon, 7 Nov 2016 18:06:15 +0000 Subject: [PATCH] WrapCall rather than WrapCallFunc --- client/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/options.go b/client/options.go index a5093db9..d75284e6 100644 --- a/client/options.go +++ b/client/options.go @@ -181,7 +181,7 @@ func Wrap(w Wrapper) Option { } // Adds a Wrapper to the list of CallFunc wrappers -func WrapCallFunc(cw ...CallWrapper) Option { +func WrapCall(cw ...CallWrapper) Option { return func(o *Options) { o.CallOptions.CallWrappers = append(o.CallOptions.CallWrappers, cw...) }