From 741a1f58204f2027c35b8d1beb36027f7487374f Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Thu, 24 Feb 2022 20:05:46 +0900 Subject: [PATCH] webhook: remove unnecessary PostWebhookContextCustomHTTP function Signed-off-by: Koichi Shiraishi --- webhooks.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/webhooks.go b/webhooks.go index 537b7e826..15097f03e 100644 --- a/webhooks.go +++ b/webhooks.go @@ -35,10 +35,6 @@ func PostWebhookCustomHTTP(url string, httpClient *http.Client, msg *WebhookMess return PostWebhookCustomHTTPContext(context.Background(), url, httpClient, msg) } -func PostWebhookContextCustomHTTP(ctx context.Context, url string, httpClient *http.Client, msg *WebhookMessage) error { - return PostWebhookCustomHTTPContext(ctx, url, httpClient, msg) -} - func PostWebhookCustomHTTPContext(ctx context.Context, url string, httpClient *http.Client, msg *WebhookMessage) error { raw, err := json.Marshal(msg) if err != nil {