Clean up code and update docs
This commit is contained in:
@@ -12,6 +12,8 @@ func main() {
|
||||
for _, monitor := range config.Monitors {
|
||||
if monitor.ShouldCheck() {
|
||||
_, alertNotice := monitor.Check()
|
||||
|
||||
// Should probably consider refactoring everything below here
|
||||
if alertNotice != nil {
|
||||
//log.Printf("Recieved an alert notice: %v", alertNotice)
|
||||
var alerts []string
|
||||
|
||||
Reference in New Issue
Block a user