mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-08 05:56:37 +00:00
Replace deprecated log lib in remaining collectors
Some collectors were missed when migrating to the local github.com/prometheus-community/windows_exporter/log library. Signed-off-by: Ben Reedy <breed808@breed808.com>
This commit is contained in:
@@ -2,7 +2,7 @@ package collector
|
||||
import (
|
||||
"github.com/StackExchange/wmi"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/common/log"
|
||||
"github.com/prometheus-community/windows_exporter/log"
|
||||
)
|
||||
func init() {
|
||||
registerCollector("{{ .CollectorName | toLower }}", new{{ .CollectorName }}Collector) // TODO: Add any perflib dependencies here
|
||||
|
||||
Reference in New Issue
Block a user