fixes from review

This commit is contained in:
Ethan Buchman
2016-04-26 22:17:13 -04:00
parent 523a170c3e
commit 501c4e4bac
7 changed files with 6 additions and 131 deletions

View File

@ -231,12 +231,6 @@ func (ps *PartSet) GetReader() io.Reader {
PanicSanity("Cannot GetReader() on incomplete PartSet")
}
return NewPartSetReader(ps.parts)
buf := []byte{}
for _, part := range ps.parts {
buf = append(buf, part.Bytes...)
}
return bytes.NewReader(buf)
}
type PartSetReader struct {