[skip ci] Add desc comments for GetComponentStatesInterface (#9506)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/9509/head
dragondriver 2021-10-08 23:56:13 +08:00 committed by GitHub
parent edea91ae6e
commit 30ecd3164f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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