mirror of https://github.com/docker/docker-py.git
Update client.py
This commit is contained in:
parent
bd5eaedec9
commit
a266448b00
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue