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:
Ben Reedy
2021-06-12 11:52:40 +10:00
parent 72c46664db
commit 5a57da53be
4 changed files with 4 additions and 4 deletions

View File

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