From 4cc221f3849526b4dbfcee42fb8b1ce0fefe9290 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Tue, 29 Dec 2020 16:38:49 -0800 Subject: [PATCH] fix(sensor): Disable debug mode for slack trigger. Fixes #944 (#1003) 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 1a3edf85c6..fc339d8f70 100644 --- a/sensors/triggers/slack/slack.go +++ b/sensors/triggers/slack/slack.go @@ -105,7 +105,7 @@ func (t *SlackTrigger) Execute(ctx context.Context, events map[string]*v1alpha1. 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,