From 5b2b1412b7c77dcf1361f30ebae8913d2c8b9497 Mon Sep 17 00:00:00 2001 From: Marc Tuduri Date: Wed, 27 Sep 2023 15:42:10 +0200 Subject: [PATCH] Fix unneded logger --- collector/boot_time_bsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/boot_time_bsd.go b/collector/boot_time_bsd.go index 9d2600f4f7..f883185456 100644 --- a/collector/boot_time_bsd.go +++ b/collector/boot_time_bsd.go @@ -28,7 +28,7 @@ type bootTimeCollector struct { } func init() { - registerCollector("boottime", defaultEnabled, newBootTimeCollector(logger)) + registerCollector("boottime", defaultEnabled, newBootTimeCollector) } // newBootTimeCollector returns a new Collector exposing system boot time on BSD systems.