forked from mirror/redis
chore: gofmt
This commit is contained in:
parent
aac0ea4447
commit
7c92957d71
2
redis.go
2
redis.go
|
@ -85,7 +85,7 @@ func (hs hooks) processPipeline(
|
||||||
ctx context.Context, cmds []Cmder, fn func(context.Context, []Cmder) error,
|
ctx context.Context, cmds []Cmder, fn func(context.Context, []Cmder) error,
|
||||||
) error {
|
) error {
|
||||||
if len(hs.hooks) == 0 {
|
if len(hs.hooks) == 0 {
|
||||||
err := fn(ctx, cmds)
|
err := fn(ctx, cmds)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue