mirror of
https://github.com/redis/go-redis.git
synced 2025-06-14 01:21:30 +03:00
Remove internal errors package that clashes with std lib.
This commit is contained in:
@ -6,7 +6,6 @@ import (
|
||||
"time"
|
||||
|
||||
"gopkg.in/redis.v5/internal"
|
||||
"gopkg.in/redis.v5/internal/errors"
|
||||
)
|
||||
|
||||
func readTimeout(timeout time.Duration) time.Duration {
|
||||
@ -1710,7 +1709,7 @@ func (c *cmdable) shutdown(modifier string) *StatusCmd {
|
||||
}
|
||||
} else {
|
||||
// Server did not quit. String reply contains the reason.
|
||||
cmd.err = errors.RedisError(cmd.val)
|
||||
cmd.err = internal.RedisError(cmd.val)
|
||||
cmd.val = ""
|
||||
}
|
||||
return cmd
|
||||
|
Reference in New Issue
Block a user