From b84f017dde469e75d92db43485d54061aff8ba22 Mon Sep 17 00:00:00 2001 From: sunby Date: Fri, 17 Sep 2021 17:35:53 +0800 Subject: [PATCH] Add comment for CreatePartition (#8031) Signed-off-by: sunby --- internal/distributed/rootcoord/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/rootcoord/service.go b/internal/distributed/rootcoord/service.go index b9a7658345..1b31e1b16d 100644 --- a/internal/distributed/rootcoord/service.go +++ b/internal/distributed/rootcoord/service.go @@ -296,6 +296,7 @@ func (s *Server) ShowCollections(ctx context.Context, in *milvuspb.ShowCollectio return s.rootCoord.ShowCollections(ctx, in) } +// CreatePartition creates a partition in a collection func (s *Server) CreatePartition(ctx context.Context, in *milvuspb.CreatePartitionRequest) (*commonpb.Status, error) { return s.rootCoord.CreatePartition(ctx, in) }