We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1a858a commit 8639088Copy full SHA for 8639088
docker/auth/auth.py
@@ -80,9 +80,7 @@ def resolve_authconfig(authconfig, registry=None):
80
81
82
def convert_to_hostname(url):
83
- url = url.replace('http://', '')
84
- url = url.replace('https://', '')
85
- return url.split('/', 1)[0]
+ return url.replace('http://', '').replace('https://', '').split('/', 1)[0]
86
87
88
def encode_auth(auth_info):
0 commit comments