From 2ea70b6ead8ff2007e748385044966548d84aa50 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Tue, 16 Nov 2021 09:18:00 +0800 Subject: [PATCH] [skip ci]Fix golint error for HasPartition in rootcoord (#11850) Signed-off-by: Cai.Zhang --- 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 923b9e27e0..6a41c6a826 100644 --- a/internal/distributed/rootcoord/service.go +++ b/internal/distributed/rootcoord/service.go @@ -335,6 +335,7 @@ func (s *Server) DropPartition(ctx context.Context, in *milvuspb.DropPartitionRe return s.rootCoord.DropPartition(ctx, in) } +// HasPartition checks whether a partition is created. func (s *Server) HasPartition(ctx context.Context, in *milvuspb.HasPartitionRequest) (*milvuspb.BoolResponse, error) { return s.rootCoord.HasPartition(ctx, in) }