Commit d6fdb598 by bergquist

fix(alerting): gofmt

parent e044a65d
......@@ -60,7 +60,7 @@ func (this *SlackNotifier) Notify(context *alerting.EvalContext) {
body := map[string]interface{}{
"attachments": []map[string]interface{}{
map[string]interface{}{
{
"color": context.GetColor(),
//"pretext": "Optional text that appears above the attachment block",
// "author_name": "Bobby Tables",
......
......@@ -67,7 +67,7 @@ func sendWebRequest(webhook *Webhook) error {
}
if resp.StatusCode != 200 {
return fmt.Errorf("Webhook response code %s", resp.StatusCode)
return fmt.Errorf("Webhook response code %v", resp.StatusCode)
}
defer resp.Body.Close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment