fix: format

This commit is contained in:
Pau Freixes 2021-10-04 17:20:29 +02:00
parent 7f7c181761
commit 96f53a0159
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ func isMovedSameConnAddr(err error, addr string) bool {
if !strings.HasPrefix(redisError, "MOVED ") { if !strings.HasPrefix(redisError, "MOVED ") {
return false return false
} }
return strings.HasSuffix(redisError, " " + addr) return strings.HasSuffix(redisError, " "+addr)
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------