mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-11 17:18:28 +02:00
WrapCall rather than WrapCallFunc
This commit is contained in:
parent
f3b591d722
commit
7ee35f50b1
@ -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...)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user