diff options
author | Johannes 'fish' Ziemke <github@freigeist.org> | 2014-02-18 13:17:40 +0100 |
---|---|---|
committer | Johannes 'fish' Ziemke <github@freigeist.org> | 2014-02-18 14:53:48 +0100 |
commit | 3a4aa70afb156c71c87874fcc053290553768c11 (patch) | |
tree | 71d4650112297dd3d3d5f80a95fde116b4b07f9e /node_exporter.go | |
parent | 3ac5222f8b0c56a4ee02bb3f7d0e1bf53e28e113 (diff) | |
download | prometheus_node_collector-3a4aa70afb156c71c87874fcc053290553768c11.tar.bz2 prometheus_node_collector-3a4aa70afb156c71c87874fcc053290553768c11.tar.xz prometheus_node_collector-3a4aa70afb156c71c87874fcc053290553768c11.zip |
Make collector testable and add native test
Diffstat (limited to 'node_exporter.go')
-rw-r--r-- | node_exporter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_exporter.go b/node_exporter.go index 5d76ab5..ee2d501 100644 --- a/node_exporter.go +++ b/node_exporter.go | |||
@@ -58,7 +58,7 @@ func main() { | |||
58 | if err != nil { | 58 | if err != nil { |
59 | log.Fatalf("Couldn't load config and collectors: %s", err) | 59 | log.Fatalf("Couldn't load config and collectors: %s", err) |
60 | } | 60 | } |
61 | log.Printf("Reload collectors and config") | 61 | log.Printf("Reloaded collectors and config") |
62 | tick = time.Tick(*interval) | 62 | tick = time.Tick(*interval) |
63 | 63 | ||
64 | case <-tick: | 64 | case <-tick: |