Skip to content

restore support for env variables to configure proxy - #2059

Merged
thaJeztah merged 1 commit into
docker:masterfrom
ndeloof:issue39654
Aug 22, 2019
Merged

restore support for env variables to configure proxy#2059
thaJeztah merged 1 commit into
docker:masterfrom
ndeloof:issue39654

Conversation

@ndeloof

@ndeloofndeloof commented Aug 22, 2019

Copy link
Copy Markdown
Contributor

regression introduced by b34f340 (#1501)

fixes#2027
fixesmoby/moby#39654

Signed-off-by: Nicolas De Loof nicolas.deloof@gmail.com

- What I did
fixmoby/moby#39654

- How I did it
restored order of client.Opt. WithHttpClient must come first

- How to verify it
added a test case to cover this scenario

- Description for the changelog
restore support for env variables to configure proxy

- A picture of a cute animal (not mandatory but encouraged)
image

regression introduced by b34f34
close #39654
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>

@silvin-lubeckisilvin-lubecki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you @ndeloof !! 👍

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #2059 into master will not change coverage.
The diff coverage is n/a.

@@ Coverage Diff @@## master #2059 +/- ##
=======================================
Coverage 56.78% 56.78% =======================================
Files 311 311 Lines 21836 21836 =======================================
Hits 12400 12400 Misses 8520 8520 Partials 916 916

1 similar comment
@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #2059 into master will not change coverage.
The diff coverage is n/a.

@@ Coverage Diff @@## master #2059 +/- ##
=======================================
Coverage 56.78% 56.78% =======================================
Files 311 311 Lines 21836 21836 =======================================
Hits 12400 12400 Misses 8520 8520 Partials 916 916

@thaJeztahthaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

nice find; easy to miss!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker 19.03.n client ignores proxy env settings CLI 19.03.1 does not support HTTP_PROXY/HTTPS_PROXY variables.

5 participants

@ndeloof@codecov-io@thaJeztah@silvin-lubecki@GordonTheTurtle