mirror of https://github.com/go-redis/redis.git
Merge pull request #389 from sugovsek/v4
Add missing argument to a `fmt.Errorf` call
This commit is contained in:
commit
6d51952d43
|
@ -316,7 +316,7 @@ func commandInfoParser(rd *proto.Reader, n int64) (interface{}, error) {
|
|||
var err error
|
||||
|
||||
if n != 6 {
|
||||
return nil, fmt.Errorf("redis: got %d elements in COMMAND reply, wanted 6")
|
||||
return nil, fmt.Errorf("redis: got %d elements in COMMAND reply, wanted 6", n)
|
||||
}
|
||||
|
||||
cmd.Name, err = rd.ReadStringReply()
|
||||
|
|
Loading…
Reference in New Issue