Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kotkovkirill committed Oct 16, 2024
1 parent 5276ced commit 3bdfe1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/ngalert/notifier/channels/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func (sn *SlackNotifier) Notify(ctx context.Context, as ...*types.Alert) (bool,
return false, fmt.Errorf("marshal json: %w", err)
}

logger.Info("Sending Slack API request", "url", sn.URL.String(), "body", sn.minify(b))
logger.Info("Sending Slack API request", "url", sn.URL.String(), "body", minify(b))

request, err := http.NewRequestWithContext(ctx, http.MethodPost, sn.URL.String(), bytes.NewReader(b))
if err != nil {
Expand Down

0 comments on commit 3bdfe1c

Please sign in to comment.