Add TODO comment for http retries
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Rounak Datta 2022-06-02 19:19:44 +05:30
parent 6ce1a84bb0
commit d1a301fb3c
No known key found for this signature in database
GPG Key ID: A04E86FD28F5A421
1 changed files with 1 additions and 0 deletions

View File

@ -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
}