-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fix enable_tls issue #988
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 enable_tls issue #988
Conversation
Signed-off-by: Joffrey F <joffrey@docker.com>
I have a try and #984 is fixed.thank you. |
self.assertFalse(kwargs['tls'].verify) | ||
except TypeError as e: | ||
self.fail(e) | ||
self.assertEqual('tcp://192.168.59.103:2376', kwargs['base_url']) |
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.
From this test change it's not clear to me what the expected behaviour is supposed to be.
It seems like we're reverting part of the recent change, is that right?
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.
Yes. I tested that case locally with the docker CLI, and setting DOCKER_TLS_VERIFY to empty string and DOCKER_HOST to a TCP address let me connect to an unsecured daemon, so I believe this change is correct.
LGTM |
Please sign your commits following these rules: $ git clone -b "tls-fixes" git@github.com:docker/docker-py.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f Ammending updates the existing PR. You DO NOT need to open a new one. |
1 similar comment
Please sign your commits following these rules: $ git clone -b "tls-fixes" git@github.com:docker/docker-py.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f Ammending updates the existing PR. You DO NOT need to open a new one. |
Fixes #984 (?)