Updated webhook notifier config name in UnmarshalYAML.

This commit is contained in:
Diogo Monteiro 2016-06-28 18:19:09 -04:00
parent 3f1c996f64
commit fe12aaa6eb

View File

@ -274,7 +274,7 @@ func (c *WebhookConfig) UnmarshalYAML(unmarshal func(interface{}) error) error {
if c.URL == "" {
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.