From 203d9facff1907dcd22c17af936ee236202bb086 Mon Sep 17 00:00:00 2001 From: till Date: Tue, 14 Nov 2023 13:36:44 +0100 Subject: [PATCH] Chore: please the linter --- app/app.go | 3 +-- internal/index/index.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/app.go b/app/app.go index 5821aa7..6631c98 100644 --- a/app/app.go +++ b/app/app.go @@ -14,7 +14,6 @@ import ( "github.com/Luzilla/dnsbl_exporter/internal/prober" "github.com/Luzilla/dnsbl_exporter/internal/setup" "github.com/Luzilla/dnsbl_exporter/pkg/dns" - "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/collectors" "github.com/urfave/cli/v2" "golang.org/x/exp/slog" @@ -180,7 +179,7 @@ func (a *DNSBLApp) Bootstrap() { registryExporter.MustRegister( collectors.NewProcessCollector(collectors.ProcessCollectorOpts{}), - prometheus.NewGoCollector(), + collectors.NewGoCollector(), ) } diff --git a/internal/index/index.go b/internal/index/index.go index 4923be2..71d23d0 100644 --- a/internal/index/index.go +++ b/internal/index/index.go @@ -19,5 +19,5 @@ func (i IndexHandler) Handler(w http.ResponseWriter, r *http.Request) {

Prober (multi-target export pattern)

Code on Github

- `)) + `)) //nolint }