From 11e907f6d5bbaf531e44ce0e85089ee0318f7a64 Mon Sep 17 00:00:00 2001 From: winebarrel Date: Thu, 12 Mar 2020 15:02:52 +0900 Subject: [PATCH] Fix proxy chain --- mysql/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql/provider.go b/mysql/provider.go index 256b6e617..7ddb2fe5f 100644 --- a/mysql/provider.go +++ b/mysql/provider.go @@ -157,7 +157,7 @@ func makeDialer(d *schema.ResourceData) (proxy.Dialer, error) { if err != nil { return nil, err } - proxy, err := proxy.FromURL(proxyURL, proxyFromEnv) + proxy, err := proxy.FromURL(proxyURL, proxy.Direct) if err != nil { return nil, err }