mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Fix golint error in segment.go (#11203)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
parent
59277d6edc
commit
34c4ef06fc
@ -66,7 +66,7 @@ func newVectorFieldInfo(fieldBinlog *datapb.FieldBinlog) *VectorFieldInfo {
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------
|
||||
// Segment is a wrapper of the underlying C-structure segment.
|
||||
type Segment struct {
|
||||
segPtrMu sync.RWMutex // guards segmentPtr
|
||||
segmentPtr C.CSegmentInterface
|
||||
@ -101,7 +101,7 @@ type Segment struct {
|
||||
pkFilter *bloom.BloomFilter // bloom filter of pk inside a segment
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------------- common interfaces
|
||||
// ID returns the identity number.
|
||||
func (s *Segment) ID() UniqueID {
|
||||
return s.segmentID
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user