WIP: Building tests, figuring out what I want AlertAfter to do

This commit is contained in:
Ian Fijolek
2019-10-02 18:01:55 -07:00
parent ba33071070
commit 061b0c980a
3 changed files with 193 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ func (alert *Alert) BuildTemplates() {
)
log.Printf("Template built: %v", alert.commandShellTemplate)
} else {
panic("No template provided for alert %s", alert.Name)
log.Fatalf("No template provided for alert %s", alert.Name)
}
}