summaryrefslogtreecommitdiff
path: root/docker/auth.py
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2018-11-30 14:41:56 -0800
committerJoffrey F <joffrey@docker.com>2018-11-30 14:41:56 -0800
commitcc38efa68e6640933f19481b4caf5fb21c7b0564 (patch)
tree63eb325534c698dda58aa8e6259db325e75b6618 /docker/auth.py
parentbef10ecac1692146fd770dcd0a098f28860bce13 (diff)
downloaddocker-py-c6374-credhelpers.tar.gz
Add some credHelpers testsc6374-credhelpers
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docker/auth.py')
-rw-r--r--docker/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/auth.py b/docker/auth.py
index 462390b..c1b874f 100644
--- a/docker/auth.py
+++ b/docker/auth.py
@@ -284,7 +284,7 @@ class AuthConfig(dict):
def get_credential_store(self, registry):
if not registry or registry == INDEX_NAME:
- registry = 'https://index.docker.io/v1/'
+ registry = INDEX_URL
return self.cred_helpers.get(registry) or self.creds_store