WrapCall rather than WrapCallFunc

This commit is contained in:
Asim 2016-11-07 18:06:15 +00:00
parent f3b591d722
commit 7ee35f50b1

View File

@ -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...)
}