Add TODO comment for http retries
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
6ce1a84bb0
commit
d1a301fb3c
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue