mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add desc comments for GetComponentStatesInterface (#9506)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/9509/head
parent
edea91ae6e
commit
30ecd3164f
|
@ -46,7 +46,9 @@ func healthyHandler(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
}
|
||||
|
||||
// GetComponentStatesInterface defines the interface that get states from component.
|
||||
type GetComponentStatesInterface interface {
|
||||
// GetComponentStates returns the states of component.
|
||||
GetComponentStates(ctx context.Context, request *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue