Skip to content

fix(exporter): forward Authorization header from zxp to zot metrics endpoint #13248

fix(exporter): forward Authorization header from zxp to zot metrics endpoint

fix(exporter): forward Authorization header from zxp to zot metrics endpoint #13248

Status Failure
Total duration 6m 14s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
lint
Process completed with exit code 2.
lint: pkg/extensions/monitoring/minimal_client.go#L147
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"metric scraping failed: unexpected status code %d\", resp.StatusCode)" (err113)