Skip to content

Commit 9e94596

Browse files
committed
chore: Remove unused variable to make golangcilint happy
1 parent e22b065 commit 9e94596

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

webhook_test.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ func (c funcWebhookClient) Do(r *http.Request) (*http.Response, error) {
1919
return c(r)
2020
}
2121

22-
var okWebhookClient = funcWebhookClient(func(*http.Request) (*http.Response, error) {
23-
return &http.Response{
24-
StatusCode: http.StatusOK,
25-
Body: io.NopCloser(bytes.NewBufferString("ok")),
26-
}, nil
27-
})
28-
2922
type errReader struct {
3023
}
3124

0 commit comments

Comments
 (0)