client/container: Remove commented code #310
1 changed files with 0 additions and 4 deletions
|
@ -80,10 +80,6 @@ type ContainerListReader struct {
|
|||
//
|
||||
// Panics if buf has zero length.
|
||||
func (x *ContainerListReader) Read(buf []cid.ID) (int, bool) {
|
||||
// if len(buf) == 0 {
|
||||
// panic("empty buffer in ContainerListReader.ReadList")
|
||||
// }
|
||||
|
||||
read := copyCnrIDBuffers(buf, x.tail)
|
||||
x.tail = x.tail[read:]
|
||||
|
||||
|
|
Loading…
Reference in a new issue