diff --git a/internal/proxy/impl.go b/internal/proxy/impl.go index 6d63d8feff..2968f45e36 100644 --- a/internal/proxy/impl.go +++ b/internal/proxy/impl.go @@ -44,6 +44,7 @@ func (node *Proxy) UpdateStateCode(code internalpb.StateCode) { node.stateCode.Store(code) } +// GetComponentStates get state of Proxy. func (node *Proxy) GetComponentStates(ctx context.Context) (*internalpb.ComponentStates, error) { stats := &internalpb.ComponentStates{ Status: &commonpb.Status{