mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 20:39:36 +08:00
[skip ci] Add comment for hasCollectionPrivate (#9661)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
55af2fa422
commit
ba998b1673
@ -196,6 +196,7 @@ func (colReplica *collectionReplica) hasCollection(collectionID UniqueID) bool {
|
||||
return colReplica.hasCollectionPrivate(collectionID)
|
||||
}
|
||||
|
||||
// hasCollectionPrivate is the private function in collectionReplica, to check collection in collectionReplica
|
||||
func (colReplica *collectionReplica) hasCollectionPrivate(collectionID UniqueID) bool {
|
||||
_, ok := colReplica.collections[collectionID]
|
||||
return ok
|
||||
|
Loading…
Reference in New Issue
Block a user