Alerting: Update alerting module to dae4478cb0dc9326319d27e5f3feb301825f2922 (#109419)

* [create-pull-request] automated change
* omit email templates from the result

---------

Co-authored-by: yuri-tceretian <25988953+yuri-tceretian@users.noreply.github.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
This commit is contained in:
alerting-team[bot]
2025-08-08 18:13:23 +00:00
committed by GitHub
co-authored by yuri-tceretian Yuri Tseretyan
parent f77e8839d9
commit 898ef9cf58
5 changed files with 8 additions and 5 deletions
@@ -200,7 +200,8 @@ func (s *legacyStorage) Delete(ctx context.Context, name string, deleteValidatio
}
func (s *legacyStorage) defaultTemplate() (definitions.NotificationTemplate, error) {
defaultTemplate, err := templates.DefaultTemplate()
// Omit some templates that we do not want to use to see.
defaultTemplate, err := templates.DefaultTemplate(templates.DefaultTemplatesToOmit)
if err != nil {
return definitions.NotificationTemplate{}, err
}