diff --git a/pkg/notifications/webhook.go b/pkg/notifications/webhook.go index c7f6dd61ebb..f9b6632e31c 100644 --- a/pkg/notifications/webhook.go +++ b/pkg/notifications/webhook.go @@ -26,6 +26,7 @@ type WebhookNotification struct { // SendWebhook sends the notification to the configured endpoint func SendWebhook(w *WebhookNotification) error { _, err := DoPost(w.endpointUrl, w.body, w.headers) + // TODO: Have response-code basis exponential retries if err != nil { return err }