mirror of https://github.com/milvus-io/milvus.git
[skip ci] Fix golint error for segmentInsert (#11856)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/11826/head^2
parent
fc0a34f40d
commit
698071de6f
|
@ -625,7 +625,7 @@ func (s *Segment) segmentInsert(offset int64, entityIDs *[]UniqueID, timestamps
|
|||
|
||||
assert.Equal(nil, numOfRow, len(*records))
|
||||
if numOfRow != len(*records) {
|
||||
return errors.New("EntityIDs row num not equal to length of records")
|
||||
return errors.New("entityIDs row num not equal to length of records")
|
||||
}
|
||||
|
||||
var rawData = make([]byte, numOfRow*sizeofPerRow)
|
||||
|
|
Loading…
Reference in New Issue