config: make Slack channel optional

This commit is contained in:
Fabian Reinartz 2016-08-03 08:24:42 +02:00
parent a9f7c9f318
commit f8de58b6b6
1 changed files with 0 additions and 3 deletions

View File

@ -227,9 +227,6 @@ func (c *SlackConfig) UnmarshalYAML(unmarshal func(interface{}) error) error {
if err := unmarshal((*plain)(c)); err != nil {
return err
}
if c.Channel == "" {
return fmt.Errorf("missing channel in Slack config")
}
return checkOverflow(c.XXX, "slack config")
}