Fix drop index interface

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/4973/head^2
dragondriver 2021-02-20 10:37:11 +08:00 committed by yefu.chen
parent b3891ca199
commit 6ebb03791f
3 changed files with 12 additions and 0 deletions

View File

@ -32,6 +32,10 @@ type Server struct {
loopWg sync.WaitGroup
}
func (s *Server) DropIndex(ctx context.Context, request *indexpb.DropIndexRequest) (*commonpb.Status, error) {
panic("implement me")
}
func (s *Server) Run() error {
if err := s.init(); err != nil {

View File

@ -27,6 +27,10 @@ type GrpcServer struct {
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) {
s := &GrpcServer{}
var err error

View File

@ -48,6 +48,10 @@ type Server struct {
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) {
server := &Server{