Kaydet (Commit) 35520ab0 authored tarafından Matthieu Nottale's avatar Matthieu Nottale Kaydeden (comit) Joffrey F

Add close() method to DockerClient.

Signed-off-by: 's avatarMatthieu Nottale <matthieu.nottale@docker.com>
üst ea682a69
......@@ -186,6 +186,10 @@ class DockerClient(object):
return self.api.version(*args, **kwargs)
version.__doc__ = APIClient.version.__doc__
def close(self):
return self.api.close()
close.__doc__ = APIClient.close.__doc__
def __getattr__(self, name):
s = ["'DockerClient' object has no attribute '{}'".format(name)]
# If a user calls a method on APIClient, they
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment