mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 04:49:08 +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"
|
"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 {
|
type Partition struct {
|
||||||
collectionID UniqueID
|
collectionID UniqueID
|
||||||
partitionID UniqueID
|
partitionID UniqueID
|
||||||
segmentIDs []UniqueID
|
segmentIDs []UniqueID
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ID returns the identity of the partition.
|
||||||
func (p *Partition) ID() UniqueID {
|
func (p *Partition) ID() UniqueID {
|
||||||
return p.partitionID
|
return p.partitionID
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user