1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

upgrade golangci-lint to v1.39.0

Signed-off-by: monkey <golang@88.com>
This commit is contained in:
monkey
2021-04-08 14:44:31 +08:00
parent 085647a59e
commit a2410beb43
2 changed files with 2 additions and 3 deletions

View File

@ -228,8 +228,7 @@ func (p *ConnPool) Get(ctx context.Context) (*Conn, error) {
return nil, ErrClosed
}
err := p.waitTurn(ctx)
if err != nil {
if err := p.waitTurn(ctx); err != nil {
return nil, err
}