Make collector testable and add native test

This commit is contained in:
Johannes 'fish' Ziemke 2014-02-18 13:17:40 +01:00
commit 3a4aa70afb
9 changed files with 280 additions and 21 deletions

View file

@ -58,7 +58,7 @@ func main() {
if err != nil {
log.Fatalf("Couldn't load config and collectors: %s", err)
}
log.Printf("Reload collectors and config")
log.Printf("Reloaded collectors and config")
tick = time.Tick(*interval)
case <-tick: