1
0
Fork 0
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:
Liam Jones 2024-11-01 07:59:29 +08:00 committed by GitHub
parent 7103d0a9ae
commit 40cbb4b1d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -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"

View file

@ -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,