mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for GetComponentStates (#11185)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/11194/head
parent
b3305da3fa
commit
2c687d372e
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue