[skip ci] Fix golint error for segmentDelete (#11855)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2021-11-16 09:25:40 +08:00 committed by GitHub
parent 5e19629b3b
commit fc0a34f40d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -674,7 +674,7 @@ func (s *Segment) segmentDelete(offset int64, entityIDs *[]UniqueID, timestamps
}
if len(*entityIDs) != len(*timestamps) {
return errors.New("Length of entityIDs not equal to length of timestamps")
return errors.New("length of entityIDs not equal to length of timestamps")
}
var cOffset = C.long(offset)