- Check resp.StatusCode before parsing Prometheus response - Limit response body read to 1 MB via io.LimitReader - Use strings.HasPrefix in test instead of fragile slice indexing - Add TestQueryPrometheusMetricServerError for 500 responses Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: ZverGuy <maximbel2003@gmail.com> |
||
|---|---|---|
| .. | ||
| backupcontroller | ||
| controller | ||
| cozyvaluesreplicator | ||
| crdinstall | ||
| fluxinstall | ||
| lineagecontrollerwebhook | ||
| manifestutil | ||
| operator | ||
| shared/crdmem | ||
| sse | ||
| telemetry | ||
| template | ||