From 6935ce88192db5b0465d53e3005e15be47f4ed58 Mon Sep 17 00:00:00 2001 From: Tsuyoshi Hombashi Date: Sat, 26 Jan 2019 12:39:14 +0900 Subject: [PATCH] Fix descriptions of the default API version in docs 1.30 -> 1.35 Signed-off-by: Tsuyoshi Hombashi --- docker/api/client.py | 2 +- docker/client.py | 4 ++-- docker/models/containers.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/api/client.py b/docker/api/client.py index 668dfeef..9b705549 100644 --- a/docker/api/client.py +++ b/docker/api/client.py @@ -82,7 +82,7 @@ class APIClient( base_url (str): URL to the Docker server. For example, ``unix:///var/run/docker.sock`` or ``tcp://127.0.0.1:1234``. version (str): The version of the API to use. Set to ``auto`` to - automatically detect the server's version. Default: ``1.30`` + automatically detect the server's version. Default: ``1.35`` timeout (int): Default timeout for API calls, in seconds. tls (bool or :py:class:`~docker.tls.TLSConfig`): Enable TLS. Pass ``True`` to enable it with default options, or pass a diff --git a/docker/client.py b/docker/client.py index 8d4a52b2..99ae1962 100644 --- a/docker/client.py +++ b/docker/client.py @@ -26,7 +26,7 @@ class DockerClient(object): base_url (str): URL to the Docker server. For example, ``unix:///var/run/docker.sock`` or ``tcp://127.0.0.1:1234``. version (str): The version of the API to use. Set to ``auto`` to - automatically detect the server's version. Default: ``1.30`` + automatically detect the server's version. Default: ``1.35`` timeout (int): Default timeout for API calls, in seconds. tls (bool or :py:class:`~docker.tls.TLSConfig`): Enable TLS. Pass ``True`` to enable it with default options, or pass a @@ -62,7 +62,7 @@ class DockerClient(object): Args: version (str): The version of the API to use. Set to ``auto`` to - automatically detect the server's version. Default: ``1.30`` + automatically detect the server's version. Default: ``1.35`` timeout (int): Default timeout for API calls, in seconds. ssl_version (int): A valid `SSL version`_. assert_hostname (bool): Verify the hostname of the server. diff --git a/docker/models/containers.py b/docker/models/containers.py index 86cb1535..089e78c7 100644 --- a/docker/models/containers.py +++ b/docker/models/containers.py @@ -727,7 +727,7 @@ class ContainerCollection(Collection): uts_mode (str): Sets the UTS namespace mode for the container. Supported values are: ``host`` version (str): The version of the API to use. Set to ``auto`` to - automatically detect the server's version. Default: ``1.30`` + automatically detect the server's version. Default: ``1.35`` volume_driver (str): The name of a volume driver/plugin. volumes (dict or list): A dictionary to configure volumes mounted inside the container. The key is either the host path or a