Merge pull request #389 from sugovsek/v4

Add missing argument to a `fmt.Errorf` call
This commit is contained in:
Vladimir Mihailenco 2016-10-08 11:07:43 +03:00 committed by GitHub
commit 6d51952d43
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()