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