Repository navigation
Stop pinging registries from the client - #681
Merged
Merged
Conversation
This was referenced Jul 20, 2015
Contributor
There was a problem hiding this comment.
Let's stay consistent across the board and use format() instead :)
The daemon already pings the registry, so doing it on our end is redundant and error-prone. The `insecure_registry` argument to `push()`, `pull()` and `login()` has been deprecated - in the latter case, it wasn't being used anyway. The `insecure` argument to `docker.auth.resolve_repository_name()` has also been deprecated. `docker.utils.ping_registry()` has been deprecated. `docker.auth.expand_registry_url()` has been removed. Signed-off-by: Aanand Prasad <[email protected]>
aanand
force-pushed
the
remove-registry-ping
branch
from
July 20, 2015 18:50
62796c8 to
33e1a58
Compare
Contributor
Author
|
Updated:
|
Contributor
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The daemon already pings the registry, so doing it on our end is redundant and error-prone.
insecure_registryargument topush(),pull()andlogin()has been deprecated - in the latter case, it wasn't being used anyway.insecureargument todocker.auth.resolve_repository_name()has also been deprecated.docker.utils.ping_registry()has been deprecated.docker.auth.expand_registry_url()has been removed.docker.auth.resolve_repository_name()now returns a hostname as the first part of the tuple, rather than a full URL.~/.dockercfgwith only authentication information for the Hub,docker.auth.load_config()now returns a dict withindex.docker.ioas its sole key, nothttps://index.docker.io/v1/.