Fix unneded logger

This commit is contained in:
Marc Tuduri 2023-09-27 15:42:10 +02:00
parent 507871a192
commit 5b2b1412b7
No known key found for this signature in database
GPG key ID: 761973D5AE312AF4

View file

@ -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.