From aaa6a2c0d62b09b5b44f0c4c11ace64dec382847 Mon Sep 17 00:00:00 2001 From: Jorin Vogel Date: Thu, 9 Feb 2017 18:17:18 +0100 Subject: [PATCH] fixing slack formatting --- promplot/slack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promplot/slack.go b/promplot/slack.go index a5d0bd0..3dfed85 100644 --- a/promplot/slack.go +++ b/promplot/slack.go @@ -10,7 +10,7 @@ import ( func Slack(token, channel, file, name, title string) error { api := slack.New(token) - _, _, err := api.PostMessage(channel, "Promplot: "+title, slack.PostMessageParameters{ + _, _, err := api.PostMessage(channel, title, slack.PostMessageParameters{ Username: "Promplot", IconEmoji: ":chart_with_upwards_trend:", })