1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

sync v8.11.0

This commit is contained in:
monkey92t
2021-07-02 20:56:25 +08:00
committed by GitHub
parent 63df0e5e75
commit 916da5b2ce
15 changed files with 50 additions and 92 deletions

View File

@ -128,7 +128,7 @@ func (hs hooks) processTxPipeline(
return hs.processPipeline(ctx, cmds, fn)
}
func (hs hooks) withContext(ctx context.Context, fn func() error) error {
func (hs hooks) withContext(_ context.Context, fn func() error) error {
return fn()
}