Support displaying group name when applicable for every alert provider
This commit is contained in:
1 parent
6da281bf4e
commit
ad71c8db34
12 files changed
+47
-51
No files matched your search
@@ -16,7 +16,7 @@ func TestAlertProvider_IsValid(t *testing.T) {
|
||||
if invalidProvider.IsValid() {
|
||||
t.Error("provider shouldn't have been valid")
|
||||
}
|
||||
validProvider := AlertProvider{WebhookURL: "http://example.com"}
|
||||
validProvider := AlertProvider{WebhookURL: "https://example.com"}
|
||||
if !validProvider.IsValid() {
|
||||
t.Error("provider should've been valid")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user