(context.Context, types.BackendRequest)
| 946 | func (a *alwaysUnhealthyAdapter) Name() string { return a.name } |
| 947 | |
| 948 | func (a *alwaysUnhealthyAdapter) Invoke(context.Context, types.BackendRequest) (types.BackendResponse, error) { |
| 949 | return types.BackendResponse{}, fmt.Errorf("unhealthy adapter should not be invoked in this test") |
| 950 | } |
| 951 | |
| 952 | func (a *alwaysUnhealthyAdapter) Health(context.Context) error { |
| 953 | return fmt.Errorf("unhealthy") |
nothing calls this directly
no outgoing calls
no test coverage detected