Add support for standard proxy env vars in outputs. (#3212)

This commit is contained in:
Daniel Nelson
2017-09-08 15:35:20 -07:00
committed by GitHub
parent d0b690f040
commit 7b08f9d099
4 changed files with 11 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ func NewHTTP(config HTTPConfig, defaultWP WriteParams) (Client, error) {
}
} else {
transport = http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: config.TLSConfig,
}
}