From ea3bdcac794d5d9d45f8fabe0afce6ed4bb4fa5f Mon Sep 17 00:00:00 2001 From: letusfly85 Date: Thu, 23 Jul 2015 15:29:45 +0900 Subject: [PATCH] add proxy info --- pkg/remote/builtin/github/helper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/remote/builtin/github/helper.go b/pkg/remote/builtin/github/helper.go index ab6473de..bedd39ce 100644 --- a/pkg/remote/builtin/github/helper.go +++ b/pkg/remote/builtin/github/helper.go @@ -25,6 +25,7 @@ func NewClient(uri, token string, skipVerify bool) *github.Client { // self-signed certificates. if skipVerify { t.Transport = &http.Transport{ + Proxy: http.ProxyFromEnvironment, TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, } }