From 52470a41b812be55c5c4ff88934a194bc6e1453a Mon Sep 17 00:00:00 2001 From: David Calavera Date: Wed, 3 Feb 2016 18:41:26 -0500 Subject: [PATCH] Apply context changes to the client. Signed-off-by: David Calavera --- plugins/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/client.go b/plugins/client.go index ba7772d..72c7331 100644 --- a/plugins/client.go +++ b/plugins/client.go @@ -30,7 +30,7 @@ func NewClient(addr string, tlsConfig tlsconfig.Options) (*Client, error) { tr.TLSClientConfig = c protoAndAddr := strings.Split(addr, "://") - sockets.ConfigureTCPTransport(tr, protoAndAddr[0], protoAndAddr[1]) + sockets.ConfigureTransport(tr, protoAndAddr[0], protoAndAddr[1]) scheme := protoAndAddr[0] if scheme != "https" {