[skip ci] Add comment for ShowPartitions (#11678)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/11695/head
dragondriver 2021-11-11 23:14:44 +08:00 committed by GitHub
parent e6f7e32049
commit b3172882ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -903,6 +903,7 @@ func (node *Proxy) GetPartitionStatistics(ctx context.Context, request *milvuspb
return g.result, nil
}
// ShowPartitions list all partitions in the specific collection.
func (node *Proxy) ShowPartitions(ctx context.Context, request *milvuspb.ShowPartitionsRequest) (*milvuspb.ShowPartitionsResponse, error) {
if !node.checkHealthy() {
return &milvuspb.ShowPartitionsResponse{