From 5966076880224cd702a613a24ecbe95c2d6a3050 Mon Sep 17 00:00:00 2001 From: neza2017 Date: Wed, 2 Jun 2021 10:55:32 +0800 Subject: [PATCH] fix data service (#5535) Signed-off-by: yefu.chen --- internal/dataservice/grpc_services.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/internal/dataservice/grpc_services.go b/internal/dataservice/grpc_services.go index 0e325236ba..440e1600e0 100644 --- a/internal/dataservice/grpc_services.go +++ b/internal/dataservice/grpc_services.go @@ -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) { - return nil, nil + return &datapb.RegisterNodeResponse{ + Status: &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_Success, + }, + }, nil + }