From 879c41cc43ad757ceccfbf72e5d28c6044116135 Mon Sep 17 00:00:00 2001 From: Nikolay Sivko Date: Tue, 26 Jul 2022 15:33:07 +0300 Subject: [PATCH] fix build --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index b66b494..7812e37 100644 --- a/main.go +++ b/main.go @@ -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" ) @@ -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)