Compare commits

..

1 Commits

Author SHA1 Message Date
8529033bc4
Added some debugging
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-05 15:02:46 +00:00

View File

@ -16,6 +16,8 @@ func HandleAlertmanagerPayloadPost(c *fiber.Ctx) error {
}
fmt.Println("Got alertmanager payload")
fmt.Println(len(payload.Alerts))
fmt.Println(payload.Alerts)
for _, alert := range payload.Alerts {
message := ""