aboutsummaryrefslogtreecommitdiff
path: root/collector/edac_linux.go
diff options
context:
space:
mode:
authorTobias Schmidt <tobidt@gmail.com>2017-02-28 12:44:53 -0400
committerTobias Schmidt <tobidt@gmail.com>2017-02-28 13:05:38 -0400
commitc7034357900029e05b58d099104b1ad443edac73 (patch)
tree454ea3a5e2f1dd15de37f96c482dc8df7fd94ada /collector/edac_linux.go
parent5289ffb27074ac9b9a48e5bf1c42d1b8937eb16f (diff)
downloadprometheus_node_collector-c7034357900029e05b58d099104b1ad443edac73.tar.bz2
prometheus_node_collector-c7034357900029e05b58d099104b1ad443edac73.tar.xz
prometheus_node_collector-c7034357900029e05b58d099104b1ad443edac73.zip
Fix all open go lint and vet issues
Diffstat (limited to 'collector/edac_linux.go')
-rw-r--r--collector/edac_linux.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/collector/edac_linux.go b/collector/edac_linux.go
index 8b6f6ab..0d98ca2 100644
--- a/collector/edac_linux.go
+++ b/collector/edac_linux.go
@@ -52,8 +52,7 @@ func init() {
52 Factories["edac"] = NewEdacCollector 52 Factories["edac"] = NewEdacCollector
53} 53}
54 54
55// Takes a prometheus registry and returns a new Collector exposing 55// NewEdacCollector returns a new Collector exposing edac stats.
56// edac stats.
57func NewEdacCollector() (Collector, error) { 56func NewEdacCollector() (Collector, error) {
58 return &edacCollector{ 57 return &edacCollector{
59 ceCount: prometheus.NewDesc( 58 ceCount: prometheus.NewDesc(