From 26925d41a79afee80438998ce80f7d3a42da11d8 Mon Sep 17 00:00:00 2001 From: mpl Date: Thu, 25 Jan 2018 01:08:58 +0100 Subject: [PATCH] pkg/client: init http client and gate when noExtConfig Fixes #1043 Change-Id: I7a7760de546c009de0da71f45f8cfa108f2585ac --- pkg/client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/client/client.go b/pkg/client/client.go index 47b9d3c7f..ebbad2cb9 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -186,6 +186,7 @@ func New(opts ...ClientOption) (*Client, error) { c.sameOrigin = true } if c.noExtConfig { + c.setDefaultHTTPClient() return c, nil }