This commit is contained in:
Matej Kramny
2015-03-20 20:58:56 +01:00
parent cdf51d89f6
commit d421b35e9b
7 changed files with 52 additions and 52 deletions

View File

@@ -2,8 +2,8 @@ package main
import (
"fmt"
"time"
"github.com/castawaylabs/cachet-monitor/cachet"
"time"
)
func main() {
@@ -19,7 +19,7 @@ func main() {
fmt.Println()
ticker := time.NewTicker(time.Second)
for _ = range ticker.C {
for range ticker.C {
for _, monitor := range cachet.Config.Monitors {
go monitor.Run()
}