aboutsummaryrefslogtreecommitdiff
path: root/collector/vmstat_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/vmstat_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/vmstat_linux.go')
-rw-r--r--collector/vmstat_linux.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/collector/vmstat_linux.go b/collector/vmstat_linux.go
index 030f5da..beb41e7 100644
--- a/collector/vmstat_linux.go
+++ b/collector/vmstat_linux.go
@@ -35,8 +35,7 @@ func init() {
35 Factories["vmstat"] = NewvmStatCollector 35 Factories["vmstat"] = NewvmStatCollector
36} 36}
37 37
38// Takes a prometheus registry and returns a new Collector exposing 38// NewvmStatCollector returns a new Collector exposing vmstat stats.
39// vmstat stats.
40func NewvmStatCollector() (Collector, error) { 39func NewvmStatCollector() (Collector, error) {
41 return &vmStatCollector{}, nil 40 return &vmStatCollector{}, nil
42} 41}