[skip ci] Add comment for CreateAlias (#12018)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/12026/head
dragondriver 2021-11-17 19:51:24 +08:00 committed by GitHub
parent 3acb73ebe6
commit 2d4f691905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1693,6 +1693,7 @@ func (node *Proxy) Query(ctx context.Context, request *milvuspb.QueryRequest) (*
}, nil
}
// CreateAlias create alias for collection, then you can search the collection with alias.
func (node *Proxy) CreateAlias(ctx context.Context, request *milvuspb.CreateAliasRequest) (*commonpb.Status, error) {
if !node.checkHealthy() {
return unhealthyStatus(), nil