forked from mirror/redis
Add missing argument to a `fmt.Errorf` call
This commit is contained in:
parent
c70ddf4531
commit
ce3447602f
|
@ -316,7 +316,7 @@ func commandInfoParser(rd *proto.Reader, n int64) (interface{}, error) {
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
if n != 6 {
|
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()
|
cmd.Name, err = rd.ReadStringReply()
|
||||||
|
|
Loading…
Reference in New Issue