From ee190d57ebaf804484606291d9242e19f5131d79 Mon Sep 17 00:00:00 2001 From: bergquist Date: Thu, 2 Mar 2017 13:57:28 +0100 Subject: [PATCH] webhooks: get proxy settings from ini file closes #7710 --- pkg/services/notifications/webhook.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/services/notifications/webhook.go b/pkg/services/notifications/webhook.go index 25d015e2db4..c74804ab828 100644 --- a/pkg/services/notifications/webhook.go +++ b/pkg/services/notifications/webhook.go @@ -25,6 +25,7 @@ type Webhook struct { } var netTransport = &http.Transport{ + Proxy: http.ProxyFromEnvironment, Dial: (&net.Dialer{ Timeout: 30 * time.Second, }).Dial,