mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for getCollectionByIDPrivate (#9659)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/9674/head
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