-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix user specified ndots option #2065
Conversation
Setting ndots to 0 does not allow to resolve search domains The default will remain ndots:0 that will directly resolve services, but if the user specify a different ndots value just propagate it into the container Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
Codecov Report
@@ Coverage Diff @@
## master #2065 +/- ##
=========================================
Coverage ? 40.59%
=========================================
Files ? 138
Lines ? 22170
Branches ? 0
=========================================
Hits ? 8999
Misses ? 11853
Partials ? 1318
Continue to review full report at Codecov.
|
This PR #2065 resolves an issue introduced by PR #1995, where user-defined ndots, such as After this PR (#2065) is applied, ndots:1 resolution works once again -
For reference, here is the
For reference, here is the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. @eyz's observation and results makes sense: earlier due to ndots:0 being specified by Docker, the container's resolver was not re-trying with search domains appended. Now it will.
Setting ndots to 0 does not allow to resolve search domains
The default will remain ndots:0 that will directly resolve
services, but if the user specify a different ndots value
just propagate it into the container
Signed-off-by: Flavio Crisciani flavio.crisciani@docker.com