mirror of https://github.com/go-redis/redis.git
Merge pull request #160 from robertabcd/fix-missing-arg
Fix missing argument.
This commit is contained in:
commit
722a903fbd
|
@ -378,7 +378,7 @@ func (cmd *BoolCmd) parseReply(rd *bufio.Reader) error {
|
|||
cmd.val = bytes.Equal(vv, ok)
|
||||
return nil
|
||||
default:
|
||||
return fmt.Errorf("got %T, wanted int64 or string")
|
||||
return fmt.Errorf("got %T, wanted int64 or string", v)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue