From be72e28f65c51fdc0c44a94f5b6977ad073af38e Mon Sep 17 00:00:00 2001 From: Fernando Date: Thu, 28 Nov 2013 01:49:36 -0300 Subject: [PATCH] fix auth ping to https --- docker/auth/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/auth/auth.py b/docker/auth/auth.py index 4053e717..0e324771 100644 --- a/docker/auth/auth.py +++ b/docker/auth/auth.py @@ -36,7 +36,7 @@ def expand_registry_url(hostname): if '/' not in hostname[9:]: hostname = hostname + '/v1/' return hostname - if utils.ping('https://' + hostname + '_ping'): + if utils.ping('https://' + hostname + '/v1/_ping'): return 'https://' + hostname + '/v1/' return 'http://' + hostname + '/v1/'