Rename Results encoding functions

This commit is contained in:
Tomás Senart
2013-09-22 17:29:59 +02:00
parent 97aa7561a2
commit 0bc9d0ccbe
4 changed files with 8 additions and 8 deletions

View File

@@ -43,7 +43,7 @@ func report(reporter, input, output string) error {
}
defer in.Close()
results := vegeta.Results{}
if err := results.ReadFrom(in); err != nil {
if err := results.Decode(in); err != nil {
return err
}
all = append(all, results...)