File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ func NewWebhookProvider(u string) (*WebhookProvider, error) {
123
123
err = backoff .Retry (func () error {
124
124
resp , err = client .Do (req )
125
125
if err != nil {
126
- log .Debugf ("Failed to connect to plugin api : %v" , err )
126
+ log .Debugf ("Failed to connect to webhook : %v" , err )
127
127
return err
128
128
}
129
129
// we currently only use 200 as success, but considering okay all 2XX for future usage
@@ -134,7 +134,7 @@ func NewWebhookProvider(u string) (*WebhookProvider, error) {
134
134
}, backoff .WithMaxRetries (backoff .NewExponentialBackOff (), maxRetries ))
135
135
136
136
if err != nil {
137
- return nil , fmt .Errorf ("failed to connect to plugin api : %v" , err )
137
+ return nil , fmt .Errorf ("failed to connect to webhook : %v" , err )
138
138
}
139
139
140
140
contentType := resp .Header .Get (webhookapi .ContentTypeHeader )
You can’t perform that action at this time.
0 commit comments