Skip to content

Commit

Permalink
Add Wrap: true to msteamsv2 receiver text
Browse files Browse the repository at this point in the history
`TextBlock` used for `text` in msteamsv2 receiver must have `wrap: true` to display the content correctly prometheus#4088

Signed-off-by: Deivasigamani Duraisamy <[email protected]>
  • Loading branch information
Lddeiva authored Nov 4, 2024
1 parent ff8c09d commit f6f2ca2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions notify/msteamsv2/msteamsv2.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ func (n *Notifier) Notify(ctx context.Context, as ...*types.Alert) (bool, error)
{
Type: "TextBlock",
Text: text,
Wrap: true,
},
},
},
Expand Down

0 comments on commit f6f2ca2

Please sign in to comment.