mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for DropPartition (#11565)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/11590/head
parent
5a264fbd05
commit
c60cf1133c
|
@ -614,6 +614,7 @@ func (node *Proxy) CreatePartition(ctx context.Context, request *milvuspb.Create
|
||||||
return cpt.result, nil
|
return cpt.result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DropPartition drop a partition in specific collection.
|
||||||
func (node *Proxy) DropPartition(ctx context.Context, request *milvuspb.DropPartitionRequest) (*commonpb.Status, error) {
|
func (node *Proxy) DropPartition(ctx context.Context, request *milvuspb.DropPartitionRequest) (*commonpb.Status, error) {
|
||||||
if !node.checkHealthy() {
|
if !node.checkHealthy() {
|
||||||
return unhealthyStatus(), nil
|
return unhealthyStatus(), nil
|
||||||
|
|
Loading…
Reference in New Issue