Skip to content

Commit

Permalink
fix(sensor): Disable debug mode for slack trigger. Fixes #944 (#1003)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Wang <[email protected]>
  • Loading branch information
whynowy authored Dec 30, 2020
1 parent 50c79ce commit 4cc221f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensors/triggers/slack/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4cc221f

Please sign in to comment.