fix data service (#5535)

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
This commit is contained in:
neza2017 2021-06-02 10:55:32 +08:00 committed by zhenshan.cao
parent 31b400a9f7
commit 5966076880

View File

@ -338,5 +338,10 @@ func (s *Server) GetComponentStates(ctx context.Context) (*internalpb.ComponentS
} }
func (s *Server) RegisterNode(ctx context.Context, req *datapb.RegisterNodeRequest) (*datapb.RegisterNodeResponse, error) { func (s *Server) RegisterNode(ctx context.Context, req *datapb.RegisterNodeRequest) (*datapb.RegisterNodeResponse, error) {
return nil, nil return &datapb.RegisterNodeResponse{
Status: &commonpb.Status{
ErrorCode: commonpb.ErrorCode_Success,
},
}, nil
} }