diff --git a/redis.go b/redis.go index 678e0ee..53a4700 100644 --- a/redis.go +++ b/redis.go @@ -85,7 +85,7 @@ func (hs hooks) processPipeline( ctx context.Context, cmds []Cmder, fn func(context.Context, []Cmder) error, ) error { if len(hs.hooks) == 0 { - err := fn(ctx, cmds) + err := fn(ctx, cmds) return err }