Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
def committed Jul 26, 2022
1 parent 1efb931 commit 879c41c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"gopkg.in/alecthomas/kingpin.v2"
"k8s.io/klog/v2"
"net/http"
_ "net/http/pprof"
)
Expand All @@ -33,7 +32,7 @@ func main() {

registry := prometheus.NewRegistry()

klog.Infoln("static labels:", *staticLabels)
log.Info("static labels:", *staticLabels)
registerer := prometheus.WrapRegistererWith(*staticLabels, registry)
registerer.MustRegister(info("pg_agent_info", version))
registerer.MustRegister(c)
Expand Down

0 comments on commit 879c41c

Please sign in to comment.