Skip to content

Commit d422e39

Browse files
authored
Merge pull request #4459 from kubernetes-sigs/raffo/fix-logline
fix logline mentioning plugin api
2 parents 16a741b + a44a44c commit d422e39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

provider/webhook/webhook.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func NewWebhookProvider(u string) (*WebhookProvider, error) {
123123
err = backoff.Retry(func() error {
124124
resp, err = client.Do(req)
125125
if err != nil {
126-
log.Debugf("Failed to connect to plugin api: %v", err)
126+
log.Debugf("Failed to connect to webhook: %v", err)
127127
return err
128128
}
129129
// 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) {
134134
}, backoff.WithMaxRetries(backoff.NewExponentialBackOff(), maxRetries))
135135

136136
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)
138138
}
139139

140140
contentType := resp.Header.Get(webhookapi.ContentTypeHeader)

0 commit comments

Comments
 (0)