mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
Fix drop index interface
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
b3891ca199
commit
6ebb03791f
@ -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 {
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user