diff --git a/client/container_list_stream.go b/client/container_list_stream.go index 79dd0b4..9aecd22 100644 --- a/client/container_list_stream.go +++ b/client/container_list_stream.go @@ -77,8 +77,6 @@ type ContainerListReader struct { // io.Reader.Read but copies cid.ID and returns success flag instead of error. // // Failure reason can be received via Close. -// -// Panics if buf has zero length. func (x *ContainerListReader) Read(buf []cid.ID) (int, bool) { read := copyCnrIDBuffers(buf, x.tail) x.tail = x.tail[read:]