From d86cf85b391ecfbcaffba2eba1c92c94f494795d Mon Sep 17 00:00:00 2001 From: Ekaterina Lebedeva Date: Wed, 11 Dec 2024 15:53:53 +0300 Subject: [PATCH] [#311] client/container: Remove outdated comment Signed-off-by: Ekaterina Lebedeva --- client/container_list_stream.go | 2 -- 1 file changed, 2 deletions(-) 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:]