Update client.py

This commit is contained in:
Peter Mooshammer 2015-04-29 15:30:33 -07:00
parent bd5eaedec9
commit a266448b00
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)