Skip to content

Commit 7943542

Browse files
chore(webhook): bump cenkalti/backoff version
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
1 parent 53ea1b9 commit 7943542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/webhook/webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func NewWebhookProvider(u string) (*WebhookProvider, error) {
145145
}
146146

147147
func requestWithRetry(client *http.Client, req *http.Request) (*http.Response, error) {
148-
resp, err := backoff.Retry(context.TODO(), func() (*http.Response, error) {
148+
resp, err := backoff.Retry(context.Background(), func() (*http.Response, error) {
149149
resp, err := client.Do(req)
150150
if err != nil {
151151
log.Debugf("Failed to connect to webhook: %v", err)

0 commit comments

Comments
 (0)