Skip to content

Commit

Permalink
chore: remove redundant type conversion (#541)
Browse files Browse the repository at this point in the history
Remove redundant []byte to string conversion
  • Loading branch information
imxyb authored Dec 18, 2020
1 parent c4a82d6 commit 8a8dbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ func (c *conn) readReply() (interface{}, error) {
return string(line[1:]), nil
}
case '-':
return Error(string(line[1:])), nil
return Error(line[1:]), nil
case ':':
return parseInt(line[1:])
case '$':
Expand Down

0 comments on commit 8a8dbfb

Please sign in to comment.