Skip to content

Commit

Permalink
Fix unneded logger
Browse files Browse the repository at this point in the history
  • Loading branch information
marctc committed Sep 27, 2023
1 parent 507871a commit 5b2b141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/boot_time_bsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5b2b141

Please sign in to comment.