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
fixing docstring to match behaviour #2640
Conversation
Thanks! Yes, looks like I missed these 😅
Agreed! I'm not really a python coder myself, so haven't looked into how it would be implemented in Python (but contributions would be welcome). it could use the same logic (could still be configurable to enable/disable it), as https://github.com/moby/moby/blob/ecdb0b22393bb669325099320d26d18687425e5f/client/client.go#L200-L246 (and moby/moby#39032, which handles the API version negotiation the moment a request will be made) |
Oh! I see you probably made the changes through GitHub's web UI, and didn't add a DCO-sign-off in the commit message (see https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work). It's possible to amend your commit-message to fix that, but you'll have to do that from the command-line (unfortunately can't be done through GitHub's web UI 😞) Let me know if you need help doing so, then I can post some instructions if needed. |
Signed-off-by: Nadav Wexler <nadavwe@wix.com>
fixed the dco. |
Ah, you're right; looks like there's something in place in docker-py/docker/api/client.py Lines 188 to 216 in 4d7d408
Looks like it's currently calling 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 (not a maintainer)
even better! this has been solved in #2650 |
i think this might have been missed in #2512.
(on a side note, I would love to see the default being "auto", as for basic usage, I don't really care about the version of docker).
Thanks!