Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
pfreixes committed Oct 4, 2021
1 parent 7f7c181 commit 96f53a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

//------------------------------------------------------------------------------
Expand Down

0 comments on commit 96f53a0

Please sign in to comment.