Skip to content

Commit

Permalink
Merge pull request #14 from SuperQ/fixup
Browse files Browse the repository at this point in the history
Thanks for that!
  • Loading branch information
DRuggeri authored Dec 29, 2021
2 parents 2c4b65d + e5622f6 commit e8edcf0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nut_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"os"
"strings"

"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
Expand Down Expand Up @@ -73,7 +72,7 @@ var (
)
var collectorOpts collectors.NutCollectorOpts

var logger log.Logger
var logger = promlog.New(&promlog.Config{})

func init() {
prometheus.MustRegister(version.NewCollector(*metricsNamespace))
Expand Down

0 comments on commit e8edcf0

Please sign in to comment.