Clean up code and update docs

This commit is contained in:
Ian Fijolek
2019-10-02 16:09:11 -07:00
parent 7b746ed62a
commit ba33071070
5 changed files with 61 additions and 22 deletions
+2
View File
@@ -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