Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerrum authored Dec 4, 2021
1 parent 9e4d357 commit 36dcc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func sendWebhook(alertManagerData *AlertManagerData) {
}
}

if len(embeds) > 1 {
if len(embeds) > 0 {
log.Printf("Sending last chunk of data to discord")
postMessageToDiscord(alertManagerData, status, color, embeds)
}
Expand Down

0 comments on commit 36dcc50

Please sign in to comment.