Add comment for HasCollection (#8025)

Signed-off-by: sunby <bingyi.sun@zilliz.com>
pull/8238/head
sunby 2021-09-18 16:27:51 +08:00 committed by GitHub
parent b6e43e0439
commit 3dad7b5aa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}