Add comment for GetComponentStates (#8216)

Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
sunby 2021-09-22 10:43:53 +08:00 committed by GitHub
parent b2e8ba7b33
commit 5c5c4b004c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}