Golint & bug fixes
This commit is contained in:
6
main.go
6
main.go
@@ -10,9 +10,9 @@ func main() {
|
||||
fmt.Printf("API: %s\n", cachet.Config.APIUrl)
|
||||
fmt.Printf("Starting %d monitors:\n", len(cachet.Config.Monitors))
|
||||
for _, monitor := range cachet.Config.Monitors {
|
||||
fmt.Printf(" %s: GET %s & Expect HTTP %d\n", monitor.Name, monitor.Url, monitor.ExpectedStatusCode)
|
||||
if monitor.MetricId > 0 {
|
||||
fmt.Printf(" - Logs lag to metric id: %d\n", monitor.MetricId)
|
||||
fmt.Printf(" %s: GET %s & Expect HTTP %d\n", monitor.Name, monitor.URL, monitor.ExpectedStatusCode)
|
||||
if monitor.MetricID > 0 {
|
||||
fmt.Printf(" - Logs lag to metric id: %d\n", monitor.MetricID)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user