client/container: Remove commented code #310

Merged
fyrchik merged 1 commit from fyrchik/frostfs-sdk-go:remove-garbage into master 2024-12-11 11:47:43 +00:00

View file

@ -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:]