summaryrefslogtreecommitdiff
path: root/docker/api/daemon.py
diff options
context:
space:
mode:
authorJoffrey F <f.joffrey@gmail.com>2018-06-18 15:22:42 -0700
committerGitHub <noreply@github.com>2018-06-18 15:22:42 -0700
commitf70545e89a70bf396d5e46732af8df737190cab0 (patch)
tree23a417ac42e3f661d39dbd23ebc7fb601c0250f0 /docker/api/daemon.py
parente88751cb9a235f31ec946c199b952b69dcc4cc0b (diff)
parente5f56247e3d6f6f0f325aab507d9845ad2c4c097 (diff)
downloaddocker-py-3.4.0.tar.gz
Merge pull request #2062 from docker/3.4.0-release3.4.0
3.4.0 Release
Diffstat (limited to 'docker/api/daemon.py')
-rw-r--r--docker/api/daemon.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/api/daemon.py b/docker/api/daemon.py
index fc3692c..76a94cf 100644
--- a/docker/api/daemon.py
+++ b/docker/api/daemon.py
@@ -128,7 +128,9 @@ class DaemonApiMixin(object):
elif not self._auth_configs:
self._auth_configs = auth.load_config()
- authcfg = auth.resolve_authconfig(self._auth_configs, registry)
+ authcfg = auth.resolve_authconfig(
+ self._auth_configs, registry, credstore_env=self.credstore_env,
+ )
# If we found an existing auth config for this registry and username
# combination, we can return it immediately unless reauth is requested.
if authcfg and authcfg.get('username', None) == username \