summaryrefslogtreecommitdiff
path: root/docker/auth.py
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2018-06-26 17:40:49 -0700
committerJoffrey F <joffrey@docker.com>2018-06-26 17:40:49 -0700
commit345be2f38a087e3730103c8d313d31311501ed5d (patch)
tree20f4dda3c24f5bb1b244b796d8b3cefd13e39efe /docker/auth.py
parent5a85cad54785bae45787b2584476c286301329e2 (diff)
downloaddocker-py-c6047-legacy-auth.tar.gz
Fix support for legacy .dockercfg auth config formatc6047-legacy-auth
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docker/auth.py')
-rw-r--r--docker/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/auth.py b/docker/auth.py
index 0c0cb20..89c0ba5 100644
--- a/docker/auth.py
+++ b/docker/auth.py
@@ -270,7 +270,7 @@ def load_config(config_path=None, config_dict=None):
"Couldn't find auth-related section ; attempting to interpret"
"as auth-only file"
)
- return parse_auth(config_dict)
+ return {'auths': parse_auth(config_dict)}
def _load_legacy_config(config_file):