Support custom alert provider

This commit is contained in:
TwinProduction committed 2020-08-27 22:23:21 -04:00
1 parent 4b57654592
commit 37c4715453
8 files changed
+151 -48

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ services:
t.Error("Metrics should've been false by default")
}
if config.Alerting == nil {
t.Fatal("config.Alerting shouldn't have been nil")
t.Fatal("config.AlertingConfig shouldn't have been nil")
}
if config.Alerting.Slack != "http://example.com" {
t.Errorf("Slack webhook should've been %s, but was %s", "http://example.com", config.Alerting.Slack)