summaryrefslogtreecommitdiffstats
path: root/services/webhook/slack.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/webhook/slack.go')
-rw-r--r--services/webhook/slack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/webhook/slack.go b/services/webhook/slack.go
index 575aedf0c0..a67fe6a762 100644
--- a/services/webhook/slack.go
+++ b/services/webhook/slack.go
@@ -85,7 +85,7 @@ func SlackShortTextFormatter(s string) string {
}
// SlackLinkFormatter creates a link compatible with slack
-func SlackLinkFormatter(url string, text string) string {
+func SlackLinkFormatter(url, text string) string {
return fmt.Sprintf("<%s|%s>", url, SlackTextFormatter(text))
}