Uh oh!
There was an error while loading. Please reload this page.
Remove docker api dependency from cli/config - #1642
Conversation
tiborvass
commented
Jan 26, 2019
cc @tonistiigi |
9d07350 to
0d8485aCompare0d8485a to
2f04b24Comparecodecov-io
commented
Jan 26, 2019
Codecov Report
@@ Coverage Diff @@## master #1642 +/- ##
==========================================
+ Coverage 55.69% 55.69% +<.01%
==========================================
Files 301 301 Lines 20470 20484 +14 ==========================================
+ Hits 11400 11409 +9 - Misses 8250 8252 +2 - Partials 820 823 +3 |
Codecov Report
@@ Coverage Diff @@## master #1642 +/- ##
==========================================
+ Coverage 56.11% 56.11% +<.01%
==========================================
Files 306 306 Lines 20895 20909 +14 ==========================================
+ Hits 11725 11734 +9 - Misses 8326 8328 +2 - Partials 844 847 +3 |
| // ParseProxyConfig computes proxy configuration by retrieving the config for the provided host and | ||
| // then checking this against any environment variables provided to the container | ||
| func (configFile *ConfigFile) ParseProxyConfig(host string, runOpts []string) map[string]*string { | ||
| func (configFile *ConfigFile) ParseProxyConfig(host string, runOpts map[string]*string) map[string]*string { |
There was a problem hiding this comment.
Ah, funny, I was working on some refactoring for this a while back related to #1574 (I see I have two implementations, but trying to recall now what was the main difference; 24e1f96 and f0f3511 (master...thaJeztah:refactor_proxy_config and master...thaJeztah:refactor_proxy_config2)
There was a problem hiding this comment.
I don't think they are equivalent refactors. I'm trying to remove dependency of docker/docker from cli/config. It's not pretty but this is what I have :)
Uh oh!
There was an error while loading. Please reload this page.
tonistiigi
commented
Jan 30, 2019
@thaJeztah mergeable? |
thaJeztah
left a comment
There was a problem hiding this comment.
left two comments, but otherwise looks good
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> Signed-off-by: Tibor Vass <tibor@docker.com>
2f04b24 to
27b2797Compare
Signed-off-by: Tonis Tiigi tonistiigi@gmail.com
Signed-off-by: Tibor Vass tibor@docker.com