diff --git a/internal/tier/tier.go b/internal/tier/tier.go index 7758ac9..c4cf236 100644 --- a/internal/tier/tier.go +++ b/internal/tier/tier.go @@ -20,7 +20,7 @@ const ( type Info struct { Tier Tier `json:"tier"` Label string `json:"label"` - AvailableModels []string `json:"available_models"` + AvailableModels []string `json:"available_models"` // populated by callers as needed; Detect always returns nil ManagedAgents bool `json:"managed_agents"` } @@ -59,6 +59,6 @@ func probe(ctx context.Context, client *http.Client, url string) bool { if err != nil { return false } - resp.Body.Close() + _ = resp.Body.Close() return true }