mirror of https://github.com/milvus-io/milvus.git
Fix drop index interface
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/4973/head^2
parent
b3891ca199
commit
6ebb03791f
|
@ -32,6 +32,10 @@ type Server struct {
|
||||||
loopWg sync.WaitGroup
|
loopWg sync.WaitGroup
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *Server) DropIndex(ctx context.Context, request *indexpb.DropIndexRequest) (*commonpb.Status, error) {
|
||||||
|
panic("implement me")
|
||||||
|
}
|
||||||
|
|
||||||
func (s *Server) Run() error {
|
func (s *Server) Run() error {
|
||||||
|
|
||||||
if err := s.init(); err != nil {
|
if err := s.init(); err != nil {
|
||||||
|
|
|
@ -27,6 +27,10 @@ type GrpcServer struct {
|
||||||
cancel context.CancelFunc
|
cancel context.CancelFunc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *GrpcServer) DropIndex(ctx context.Context, request *milvuspb.DropIndexRequest) (*commonpb.Status, error) {
|
||||||
|
panic("implement me")
|
||||||
|
}
|
||||||
|
|
||||||
func NewGrpcServer(ctx context.Context, factory msgstream.Factory) (*GrpcServer, error) {
|
func NewGrpcServer(ctx context.Context, factory msgstream.Factory) (*GrpcServer, error) {
|
||||||
s := &GrpcServer{}
|
s := &GrpcServer{}
|
||||||
var err error
|
var err error
|
||||||
|
|
|
@ -48,6 +48,10 @@ type Server struct {
|
||||||
indexServiceClient *grpcindexserviceclient.Client
|
indexServiceClient *grpcindexserviceclient.Client
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *Server) DropIndex(ctx context.Context, request *milvuspb.DropIndexRequest) (*commonpb.Status, error) {
|
||||||
|
panic("implement me")
|
||||||
|
}
|
||||||
|
|
||||||
func NewServer(ctx context.Context, factory msgstream.Factory) (*Server, error) {
|
func NewServer(ctx context.Context, factory msgstream.Factory) (*Server, error) {
|
||||||
|
|
||||||
server := &Server{
|
server := &Server{
|
||||||
|
|
Loading…
Reference in New Issue