Correct error message for missing OpsGenie API key

This commit is contained in:
Jimmi Dyson 2015-11-25 10:38:29 +00:00
parent 3e7d614eb2
commit 7c9700e76c
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ func (c *OpsGenieConfig) UnmarshalYAML(unmarshal func(interface{}) error) error
return err
}
if c.APIKey == "" {
return fmt.Errorf("missing service key in OpsGenie config")
return fmt.Errorf("missing API key in OpsGenie config")
}
return checkOverflow(c.XXX, "opsgenie config")
}