summaryrefslogtreecommitdiffstats
path: root/python-dockering/dockering/core.py
diff options
context:
space:
mode:
authorAndrew Gauld <agauld@att.com>2019-08-13 13:32:27 +0000
committerAndrew Gauld <agauld@att.com>2019-08-13 15:06:26 +0000
commitebd03eb6490b8e60fe0f090aac921efb7778f1f5 (patch)
treed2b752e49028ff637641a320f1156d2d119fb71f /python-dockering/dockering/core.py
parent5013228b2a3deb99d56c8aa433e746abf9b1f458 (diff)
Update obsolete docker python version5.0.2-ONAP5.0.1-ONAPelalto
Issue-ID: DCAEGEN2-1725 Signed-off-by: Andrew Gauld <agauld@att.com> Change-Id: I2bbb52591c6c1774303d8d2b6bc3480fb28d9fac Signed-off-by: Andrew Gauld <agauld@att.com>
Diffstat (limited to 'python-dockering/dockering/core.py')
-rw-r--r--python-dockering/dockering/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python-dockering/dockering/core.py b/python-dockering/dockering/core.py
index d82e346..b70aabb 100644
--- a/python-dockering/dockering/core.py
+++ b/python-dockering/dockering/core.py
@@ -34,7 +34,7 @@ def create_client(hostname, port, reauth=False, logins=[]):
"""
base_url = "tcp://{0}:{1}".format(hostname, port)
try:
- client = docker.Client(base_url=base_url)
+ client = docker.APIClient(base_url=base_url)
for dcl in logins:
dcl["reauth"] = reauth