-
Notifications
You must be signed in to change notification settings - Fork 2k
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
fixes #1441 set default schema to tcp for docker host #1443
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1443 +/- ##
==========================================
- Coverage 54.2% 54.19% -0.01%
==========================================
Files 289 289
Lines 19378 19377 -1
==========================================
- Hits 10503 10502 -1
Misses 8199 8199
Partials 676 676 |
Signed-off-by: Lifubang <[email protected]>
05f90d1
to
2431dd1
Compare
I have update a more reasonable schema parse method. |
Signed-off-by: Lifubang <[email protected]>
@silvin-lubecki Thank you for your review. |
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
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
Shall we need to merge to 18.09? Otherwise the version 18.09 will become the only version which doesn't support default host schema. |
@lifubang yes, I had this one on my list to backport to 18.09 |
Can you open a pr to the release branch? |
@cpuguy83 almost done 😅 |
haha, posting at the same time. |
backport is up #1454 |
Signed-off-by: Lifubang [email protected]
- What I did
Please see #1441
There is a traditional command "docker -H :2375 ps" in docker cli, but in master, it can't work now.
Is this feature removed in plan or just an error?
- How I did it
I think this may be a bug after merge #1014
add case ssh to dopts.ParseHost, together with all other schema.
- How to verify it
see #1441
fixes #1441
fixes moby/moby#38118
- Description for the changelog
set default schema to tcp for docker host param when there is no schema
- A picture of a cute animal (not mandatory but encouraged)
![p08ehdk zh d s d426fzw](https://user-images.githubusercontent.com/783424/46844518-0f826a00-ce0a-11e8-9a6e-b787d2dd3c08.png)