From 5c5c4b004c47ef030d4672fdb6a79e5d5c2a0246 Mon Sep 17 00:00:00 2001 From: sunby Date: Wed, 22 Sep 2021 10:43:53 +0800 Subject: [PATCH] Add comment for GetComponentStates (#8216) Signed-off-by: sunby --- internal/distributed/datacoord/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/datacoord/service.go b/internal/distributed/datacoord/service.go index b58448c38..c67c0d4f7 100644 --- a/internal/distributed/datacoord/service.go +++ b/internal/distributed/datacoord/service.go @@ -177,6 +177,7 @@ func (s *Server) Run() error { return nil } +// GetComponentStates gets states of datacoord and datanodes func (s *Server) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) { return s.dataCoord.GetComponentStates(ctx) } -- GitLab