mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00:00
fix(alerting): Add missing support for default-alert on teams-workflows (#883)
Fix default-alert on teams-workflows
This commit is contained in:
parent
7103d0a9ae
commit
40cbb4b1d4
2 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,9 @@ const (
|
||||||
// TypeTeams is the Type for the teams alerting provider
|
// TypeTeams is the Type for the teams alerting provider
|
||||||
TypeTeams Type = "teams"
|
TypeTeams Type = "teams"
|
||||||
|
|
||||||
|
// TypeTeamsWorkflows is the Type for the teams-workflows alerting provider
|
||||||
|
TypeTeamsWorkflows Type = "teams-workflows"
|
||||||
|
|
||||||
// TypeTelegram is the Type for the telegram alerting provider
|
// TypeTelegram is the Type for the telegram alerting provider
|
||||||
TypeTelegram Type = "telegram"
|
TypeTelegram Type = "telegram"
|
||||||
|
|
||||||
|
|
|
@ -413,6 +413,7 @@ func validateAlertingConfig(alertingConfig *alerting.Config, endpoints []*endpoi
|
||||||
alert.TypePushover,
|
alert.TypePushover,
|
||||||
alert.TypeSlack,
|
alert.TypeSlack,
|
||||||
alert.TypeTeams,
|
alert.TypeTeams,
|
||||||
|
alert.TypeTeamsWorkflows,
|
||||||
alert.TypeTelegram,
|
alert.TypeTelegram,
|
||||||
alert.TypeTwilio,
|
alert.TypeTwilio,
|
||||||
alert.TypeZulip,
|
alert.TypeZulip,
|
||||||
|
|
Loading…
Reference in a new issue