mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for getPartitionByIDPrivate (#9978)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/9982/head
parent
98ed253e2c
commit
3cff929be3
|
@ -316,6 +316,7 @@ func (colReplica *collectionReplica) getPartitionByID(partitionID UniqueID) (*Pa
|
|||
return colReplica.getPartitionByIDPrivate(partitionID)
|
||||
}
|
||||
|
||||
// getPartitionByIDPrivate is the private function in collectionReplica, to get the partition
|
||||
func (colReplica *collectionReplica) getPartitionByIDPrivate(partitionID UniqueID) (*Partition, error) {
|
||||
partition, ok := colReplica.partitions[partitionID]
|
||||
if !ok {
|
||||
|
|
Loading…
Reference in New Issue