mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
[skip ci] Add comment for getCollectionByIDPrivate (#9659)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
2cba5053a8
commit
1b128c3fbf
@ -181,6 +181,7 @@ func (colReplica *collectionReplica) getCollectionByID(collectionID UniqueID) (*
|
||||
return colReplica.getCollectionByIDPrivate(collectionID)
|
||||
}
|
||||
|
||||
// getCollectionByIDPrivate is the private function in collectionReplica, to get collection from collectionReplica
|
||||
func (colReplica *collectionReplica) getCollectionByIDPrivate(collectionID UniqueID) (*Collection, error) {
|
||||
collection, ok := colReplica.collections[collectionID]
|
||||
if !ok {
|
||||
|
Loading…
Reference in New Issue
Block a user