Fix #117: Implement email alerts

This commit is contained in:
TwiN committed 2021-12-02 21:05:17 -05:00
1 parent 0331c18401
commit f6336eac4e
53 files changed
+3062 -626

No files matched your search

+1
View File
@@ -274,6 +274,7 @@ func validateAlertingConfig(alertingConfig *alerting.Config, endpoints []*core.E
alertTypes := []alert.Type{
alert.TypeCustom,
alert.TypeDiscord,
alert.TypeEmail,
alert.TypeMattermost,
alert.TypeMessagebird,
alert.TypePagerDuty,
-1
View File
@@ -39,7 +39,6 @@ type Config struct {
Every []string `yaml:"every"`
durationToStartFromMidnight time.Duration
timeLocation *time.Location
}
func GetDefaultConfig() *Config {