[skip ci] Add comment for HasCollection (#11333)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/11343/head
dragondriver 2021-11-05 19:52:07 +08:00 committed by GitHub
parent 2064dde4cc
commit f67bd0ae0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -232,6 +232,7 @@ func (node *Proxy) DropCollection(ctx context.Context, request *milvuspb.DropCol
return dct.result, nil
}
// HasCollection check if the specific collection exists in Milvus.
func (node *Proxy) HasCollection(ctx context.Context, request *milvuspb.HasCollectionRequest) (*milvuspb.BoolResponse, error) {
if !node.checkHealthy() {
return &milvuspb.BoolResponse{