From 3dad7b5aa81a07b3637a69d1dbbd7970917af8a2 Mon Sep 17 00:00:00 2001 From: sunby Date: Sat, 18 Sep 2021 16:27:51 +0800 Subject: [PATCH] Add comment for HasCollection (#8025) 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 92f6e99840..1d4338536c 100644 --- a/internal/distributed/rootcoord/service.go +++ b/internal/distributed/rootcoord/service.go @@ -295,6 +295,7 @@ func (s *Server) DropCollection(ctx context.Context, in *milvuspb.DropCollection return s.rootCoord.DropCollection(ctx, in) } +// HasCollection checks whether a collection is created func (s *Server) HasCollection(ctx context.Context, in *milvuspb.HasCollectionRequest) (*milvuspb.BoolResponse, error) { return s.rootCoord.HasCollection(ctx, in) }