From 36dcc50b29a8f010163cacdd1378a280e3998992 Mon Sep 17 00:00:00 2001 From: Roger Rumao Date: Fri, 3 Dec 2021 23:10:03 -0600 Subject: [PATCH] Fixes --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index c05ba35..dd2e753 100644 --- a/main.go +++ b/main.go @@ -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) }