Skip to content

Commit

Permalink
fix(alerting): Add missing support for default-alert on teams-workflo…
Browse files Browse the repository at this point in the history
…ws (#883)

Fix default-alert on teams-workflows
  • Loading branch information
liamjones-pw authored Oct 31, 2024
1 parent 7103d0a commit 40cbb4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions alerting/alert/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ const (
// TypeTeams is the Type for the teams alerting provider
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 Type = "telegram"

Expand Down
1 change: 1 addition & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ func validateAlertingConfig(alertingConfig *alerting.Config, endpoints []*endpoi
alert.TypePushover,
alert.TypeSlack,
alert.TypeTeams,
alert.TypeTeamsWorkflows,
alert.TypeTelegram,
alert.TypeTwilio,
alert.TypeZulip,
Expand Down

0 comments on commit 40cbb4b

Please sign in to comment.