mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-18 03:27:04 +00:00
Merge pull request #414 from diogogmt/master
Updated webhook notifier config name in UnmarshalYAML.
This commit is contained in:
commit
dd3e9b62c4
@ -274,7 +274,7 @@ func (c *WebhookConfig) UnmarshalYAML(unmarshal func(interface{}) error) error {
|
|||||||
if c.URL == "" {
|
if c.URL == "" {
|
||||||
return fmt.Errorf("missing URL in webhook config")
|
return fmt.Errorf("missing URL in webhook config")
|
||||||
}
|
}
|
||||||
return checkOverflow(c.XXX, "slack config")
|
return checkOverflow(c.XXX, "webhook config")
|
||||||
}
|
}
|
||||||
|
|
||||||
// OpsGenieConfig configures notifications via OpsGenie.
|
// OpsGenieConfig configures notifications via OpsGenie.
|
||||||
|
Loading…
Reference in New Issue
Block a user