Merge pull request #577 from pmoosh/master

Update client.py
This commit is contained in:
Joffrey F 2015-04-30 13:12:10 -07:00
commit 07c37171e4
1 changed files with 1 additions and 1 deletions

View File

@ -901,7 +901,7 @@ class Client(requests.Session):
# auth_config needs to be a dict in the format used by
# auth.py username , password, serveraddress, email
headers['X-Registry-Auth'] = auth.encode_header(
auth_config)
authcfg)
else:
headers['X-Registry-Auth'] = auth.encode_header(auth_config)