Try to fix check-attr bug (#34029)

This commit is contained in:
wxiaoguang
2025-03-27 13:07:17 +08:00
committed by GitHub
parent 3c95b0758f
commit 96e7369515

View File

@ -280,7 +280,7 @@ func (wr *nulSeparatedAttributeWriter) Write(p []byte) (n int, err error) {
} }
} }
wr.tmp = append(wr.tmp, p...) wr.tmp = append(wr.tmp, p...)
return len(p), nil return l, nil
} }
func (wr *nulSeparatedAttributeWriter) ReadAttribute() <-chan attributeTriple { func (wr *nulSeparatedAttributeWriter) ReadAttribute() <-chan attributeTriple {