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.