mirror of
https://github.com/redis/go-redis.git
synced 2025-06-12 14:21:52 +03:00
Remove internal errors package that clashes with std lib.
This commit is contained in:
@ -4,7 +4,7 @@ import (
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
|
||||
"gopkg.in/redis.v5/internal/errors"
|
||||
"gopkg.in/redis.v5/internal"
|
||||
"gopkg.in/redis.v5/internal/pool"
|
||||
)
|
||||
|
||||
@ -100,7 +100,7 @@ func execCmds(cn *pool.Conn, cmds []Cmder) ([]Cmder, error) {
|
||||
if firstCmdErr == nil {
|
||||
firstCmdErr = err
|
||||
}
|
||||
if errors.IsRetryable(err) {
|
||||
if internal.IsRetryableError(err) {
|
||||
failedCmds = append(failedCmds, cmd)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user