We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acf1c18 + 40c1cc3 commit 2b6611cCopy full SHA for 2b6611c
error.go
@@ -134,7 +134,7 @@ func isMovedSameConnAddr(err error, addr string) bool {
134
if !strings.HasPrefix(redisError, "MOVED ") {
135
return false
136
}
137
- return strings.HasSuffix(redisError, addr)
+ return strings.HasSuffix(redisError, " "+addr)
138
139
140
//------------------------------------------------------------------------------
0 commit comments