Skip to content

fix: use same histogram buckets everywhere #330

fix: use same histogram buckets everywhere

fix: use same histogram buckets everywhere #330

Triggered via push January 22, 2024 08:16
Status Failure
Total duration 31s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
lint-go: internal/servicecheck/cache.go#L1
: # github.com/postfinance/kubenurse/internal/servicecheck
lint-go: internal/servicecheck/servicecheck.go#L78
cannot use durationHistogram (variable of type *prometheus.HistogramVec) as []float64 value in argument to withHttptrace (typecheck)
lint-go: internal/kubenurse/handler.go#L9
could not import github.com/postfinance/kubenurse/internal/servicecheck (-: # github.com/postfinance/kubenurse/internal/servicecheck
test-go: internal/servicecheck/servicecheck.go#L78
cannot use durationHistogram (variable of type *prometheus.HistogramVec) as []float64 value in argument to withHttptrace
lint-go: internal/servicecheck/servicecheck.go#L78
cannot use durationHistogram (variable of type *prometheus.HistogramVec) as []float64 value in argument to withHttptrace) (typecheck)
test-go
Process completed with exit code 1.
lint-go
issues found
lint-go
Restore cache failed: Dependencies file is not found in /home/runner/work/kubenurse/kubenurse. Supported file pattern: go.sum