1
0
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:
Vladimir Mihailenco
2016-10-09 11:38:31 +00:00
parent 639950777c
commit 2c5b239ecb
9 changed files with 34 additions and 41 deletions

View File

@ -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