mirror of https://github.com/docker/docker-py.git
Merge pull request #1480 from shin-/bump-default-api-version
Bump default API version to 1.26
This commit is contained in:
commit
11873993eb
|
|
@ -1,7 +1,7 @@
|
||||||
import sys
|
import sys
|
||||||
from .version import version
|
from .version import version
|
||||||
|
|
||||||
DEFAULT_DOCKER_API_VERSION = '1.24'
|
DEFAULT_DOCKER_API_VERSION = '1.26'
|
||||||
MINIMUM_DOCKER_API_VERSION = '1.21'
|
MINIMUM_DOCKER_API_VERSION = '1.21'
|
||||||
DEFAULT_TIMEOUT_SECONDS = 60
|
DEFAULT_TIMEOUT_SECONDS = 60
|
||||||
STREAM_HEADER_SIZE_BYTES = 8
|
STREAM_HEADER_SIZE_BYTES = 8
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,7 @@ class UnixconnTest(unittest.TestCase):
|
||||||
with warnings.catch_warnings(record=True) as w:
|
with warnings.catch_warnings(record=True) as w:
|
||||||
warnings.simplefilter('always')
|
warnings.simplefilter('always')
|
||||||
|
|
||||||
client = docker.APIClient(**kwargs_from_env())
|
client = docker.APIClient(version='auto', **kwargs_from_env())
|
||||||
client.images()
|
client.images()
|
||||||
client.close()
|
client.close()
|
||||||
del client
|
del client
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue