client/container: Remove commented code
Some checks failed
DCO / DCO (pull_request) Failing after 1m46s
Tests and linters / Tests (pull_request) Successful in 1m57s
Tests and linters / Lint (pull_request) Successful in 2m17s

Refs #291.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-12-11 14:19:40 +03:00
parent c4463df8d4
commit c09b776ae5
Signed by: fyrchik
SSH key fingerprint: SHA256:m/TTwCzjnRkXgnzEx9X92ccxy1CcVeinOgDb3NPWWmg

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