mirror of https://github.com/go-redis/redis.git
fix: format
This commit is contained in:
parent
7f7c181761
commit
96f53a0159
2
error.go
2
error.go
|
@ -134,7 +134,7 @@ func isMovedSameConnAddr(err error, addr string) bool {
|
|||
if !strings.HasPrefix(redisError, "MOVED ") {
|
||||
return false
|
||||
}
|
||||
return strings.HasSuffix(redisError, " " + addr)
|
||||
return strings.HasSuffix(redisError, " "+addr)
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue