Remove unused captured state and orphan helpers
This commit is contained in:
@@ -21,12 +21,11 @@ type reachabilityProbe struct {
|
||||
}
|
||||
|
||||
type reachabilityProbeOutcome struct {
|
||||
supported bool
|
||||
reason domain.SmokeTestReason
|
||||
initialEndpoint string
|
||||
reachable *bool
|
||||
evidence llm.HTTPExecutionEvidence
|
||||
failure domain.ExecutionFailureKind
|
||||
supported bool
|
||||
reason domain.SmokeTestReason
|
||||
reachable *bool
|
||||
evidence llm.HTTPExecutionEvidence
|
||||
failure domain.ExecutionFailureKind
|
||||
}
|
||||
|
||||
func (p reachabilityProbe) run(
|
||||
@@ -44,7 +43,7 @@ func (p reachabilityProbe) run(
|
||||
if err != nil {
|
||||
return reachabilityProbeOutcome{}, fmt.Errorf("prepare reachability endpoint: %w", err)
|
||||
}
|
||||
result := reachabilityProbeOutcome{supported: true, initialEndpoint: endpoint}
|
||||
result := reachabilityProbeOutcome{supported: true}
|
||||
response, evidence, requestErr := p.client.GetWithEvidence(ctx, endpoint, timeoutSeconds)
|
||||
if response != nil && response.Body != nil {
|
||||
_ = response.Body.Close()
|
||||
|
||||
Reference in New Issue
Block a user