mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Try to fix Go 1.4.
This commit is contained in:
@ -58,7 +58,7 @@ func IsMoved(err error) (moved bool, ask bool, addr string) {
|
||||
return
|
||||
}
|
||||
|
||||
ind := strings.LastIndexByte(s, ' ')
|
||||
ind := strings.LastIndex(s, " ")
|
||||
if ind == -1 {
|
||||
return false, false, ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user