Skip to content

Commit

Permalink
Chore: please the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Nov 14, 2023
1 parent 666b693 commit 203d9fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -180,7 +179,7 @@ func (a *DNSBLApp) Bootstrap() {

registryExporter.MustRegister(
collectors.NewProcessCollector(collectors.ProcessCollectorOpts{}),
prometheus.NewGoCollector(),
collectors.NewGoCollector(),
)
}

Expand Down
2 changes: 1 addition & 1 deletion internal/index/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ func (i IndexHandler) Handler(w http.ResponseWriter, r *http.Request) {
<p><a href="/prober?target=">Prober (multi-target export pattern)</a></p>
<p><a href="https://github.com/Luzilla/dnsbl_exporter">Code on Github</a></p>
</body>
</html>`))
</html>`)) //nolint
}

0 comments on commit 203d9fa

Please sign in to comment.