[skip ci] Fix golint error for segmentInsert (#11856)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/11826/head^2
bigsheeper 2021-11-16 09:27:36 +08:00 committed by GitHub
parent fc0a34f40d
commit 698071de6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)