fix variables that werent being called
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
9527d789e7
commit
b9fcb41e6d
9 changed files with 19 additions and 22 deletions
|
@ -560,6 +560,10 @@ func Benchmark9kTar(b *testing.B) {
|
|||
return
|
||||
}
|
||||
n, err := io.Copy(buf, fh)
|
||||
if err != nil {
|
||||
b.Error(err)
|
||||
return
|
||||
}
|
||||
fh.Close()
|
||||
|
||||
reader := bytes.NewReader(buf.Bytes())
|
||||
|
@ -586,6 +590,10 @@ func Benchmark9kTarGzip(b *testing.B) {
|
|||
return
|
||||
}
|
||||
n, err := io.Copy(buf, fh)
|
||||
if err != nil {
|
||||
b.Error(err)
|
||||
return
|
||||
}
|
||||
fh.Close()
|
||||
|
||||
reader := bytes.NewReader(buf.Bytes())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue