Skip to content

Commit 40cbb4b

Browse files
authored
fix(alerting): Add missing support for default-alert on teams-workflows (#883)
Fix default-alert on teams-workflows
1 parent 7103d0a commit 40cbb4b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

alerting/alert/type.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ const (
6262
// TypeTeams is the Type for the teams alerting provider
6363
TypeTeams Type = "teams"
6464

65+
// TypeTeamsWorkflows is the Type for the teams-workflows alerting provider
66+
TypeTeamsWorkflows Type = "teams-workflows"
67+
6568
// TypeTelegram is the Type for the telegram alerting provider
6669
TypeTelegram Type = "telegram"
6770

config/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ func validateAlertingConfig(alertingConfig *alerting.Config, endpoints []*endpoi
413413
alert.TypePushover,
414414
alert.TypeSlack,
415415
alert.TypeTeams,
416+
alert.TypeTeamsWorkflows,
416417
alert.TypeTelegram,
417418
alert.TypeTwilio,
418419
alert.TypeZulip,

0 commit comments

Comments
 (0)