Support a proxy in splunk log driver - #36220
Conversation
|
LGTM for sure |
|
I think this is the way it's supposed to be used (also see https://golang.org/pkg/net/http/#ProxyFromEnvironment, and the example on that page)
So an error is only returned in situations where no proxy should be used (in which case |
|
PowerPC node has some issues; https://jenkins.dockerproject.org/job/Docker-PRs-powerpc/8278/console |
Signed-off-by: Daniel Nephin <dnephin@docker.com>
becf86a to
88aa839
Compare
|
Added a unit test. I tried adding a more complete test using the Since the rest of this code is part of the stdlib, all we really need to test is that the transport has the correct proxy factory, which is covered by this test. |
88aa839 to
0823c9b
Compare
Signed-off-by: Daniel Nephin <dnephin@docker.com>
0823c9b to
3c4537d
Compare
There was a problem hiding this comment.
a unit test sounds sane to me
LGTM
No description provided.