diff options
Diffstat (limited to 'docker/auth/auth.py')
-rw-r--r-- | docker/auth/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/auth/auth.py b/docker/auth/auth.py index fb41fa9..e4bc657 100644 --- a/docker/auth/auth.py +++ b/docker/auth/auth.py @@ -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]) ) |