refactor: rename namespace to 'collector'

This commit is contained in:
Martin Lindhe
2016-09-01 14:55:35 +02:00
parent f99a67b376
commit 2af46d9313
5 changed files with 8 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ import (
"net/http"
"sync"
"github.com/martinlindhe/wmi_exporter/collectors"
"github.com/martinlindhe/wmi_exporter/collector"
"github.com/prometheus/client_golang/prometheus"
)
@@ -29,9 +29,9 @@ var _ prometheus.Collector = &WmiExporter{}
func NewWmiExporter() *WmiExporter {
return &WmiExporter{
collectors: []prometheus.Collector{
collectors.NewOSCollector(),
collectors.NewLogicalDiskCollector(),
collectors.NewIISCollector(),
collector.NewOSCollector(),
collector.NewLogicalDiskCollector(),
collector.NewIISCollector(),
},
}
}