[#311] client/container: Remove outdated comment
All checks were successful
DCO / DCO (pull_request) Successful in 1m34s
Tests and linters / Tests (pull_request) Successful in 2m3s
Tests and linters / Lint (pull_request) Successful in 2m16s

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
This commit is contained in:
Ekaterina Lebedeva 2024-12-11 15:53:53 +03:00
parent 3dbae11efa
commit d86cf85b39

View file

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