Add missing argument to a `fmt.Errorf` call

This commit is contained in:
Simon Ugovšek 2016-10-07 15:39:45 +02:00
parent c70ddf4531
commit ce3447602f
1 changed files with 1 additions and 1 deletions

View File

@ -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()