Update DEFAULT_DOCKER_API_VERSION to 1.21

This caused  the error:
InvalidVersion: API versions below 1.21 are no longer supported by this library.
So update the DEFAULT_DOCKER_API_VERSION to 1.21

Change-Id: Ifa593ef80adce034ac0e40062476e8f1c9b33dec
This commit is contained in:
zhurong 2018-03-12 12:08:43 +08:00
parent 22ead31e77
commit 36e57dd6cb

View File

@ -24,7 +24,7 @@ import docker
CONF = cfg.CONF CONF = cfg.CONF
DEFAULT_TIMEOUT_SECONDS = 120 DEFAULT_TIMEOUT_SECONDS = 120
DEFAULT_DOCKER_API_VERSION = '1.19' DEFAULT_DOCKER_API_VERSION = '1.21'
def filter_data(f): def filter_data(f):