From 1f31ea906128bb7520b4a16ce4a3ad5867fa05e3 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Fri, 25 Dec 2020 16:26:17 -0800 Subject: [PATCH] fix(sensor): Disable debug mode for slack trigger. Fixes #944 Signed-off-by: Derek Wang --- sensors/triggers/slack/slack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensors/triggers/slack/slack.go b/sensors/triggers/slack/slack.go index 589396081d..10f30a2dfb 100644 --- a/sensors/triggers/slack/slack.go +++ b/sensors/triggers/slack/slack.go @@ -104,7 +104,7 @@ func (t *SlackTrigger) Execute(events map[string]*v1alpha1.Event, resource inter return nil, errors.Wrap(err, "failed to retrieve the slack token") } - api := slack.New(slackToken, slack.OptionDebug(true)) + api := slack.New(slackToken, slack.OptionDebug(false)) params := &slack.GetConversationsParameters{ Limit: 200,