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:
co-authored by
yuri-tceretian
Yuri Tseretyan
parent
f77e8839d9
commit
898ef9cf58
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user