mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
[skip ci] Fix golint error in querynode (#9288)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
parent
ca3bf67e72
commit
a4cddd950b
@ -28,12 +28,14 @@ import (
|
||||
"github.com/milvus-io/milvus/internal/log"
|
||||
)
|
||||
|
||||
// Partition is a logical division of Collection and can be considered as an attribute of Segment.
|
||||
type Partition struct {
|
||||
collectionID UniqueID
|
||||
partitionID UniqueID
|
||||
segmentIDs []UniqueID
|
||||
}
|
||||
|
||||
// ID returns the identity of the partition.
|
||||
func (p *Partition) ID() UniqueID {
|
||||
return p.partitionID
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user