Kaydet (Commit) 5baa5e48 authored tarafından Ken Leidal's avatar Ken Leidal

removed exception thrown if registry.hub.docker.com is explicitly defined in…

removed exception thrown if registry.hub.docker.com is explicitly defined in repository param for client.pull
üst 6a63cb2c
......@@ -59,7 +59,7 @@ def resolve_repository_name(repo_name, insecure=False):
raise errors.InvalidRepository(
'Invalid repository name ({0})'.format(repo_name))
if 'index.docker.io' in parts[0] or 'registry.hub.docker.com' in parts[0]:
if 'index.docker.io' in parts[0]:
raise errors.InvalidRepository(
'Invalid repository name, try "{0}" instead'.format(parts[1])
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment