mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
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…
x
Reference in New Issue
Block a user