Refactor API version switching logic
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
a027a0079c
commit
9e17cff0ef
3 changed files with 14 additions and 6 deletions
|
|
@ -15,3 +15,10 @@ LABEL_SERVICE = 'com.docker.compose.service'
|
|||
LABEL_VERSION = 'com.docker.compose.version'
|
||||
LABEL_CONFIG_HASH = 'com.docker.compose.config-hash'
|
||||
COMPOSEFILE_VERSIONS = (1, 2)
|
||||
|
||||
API_VERSIONS = {
|
||||
1: '1.21',
|
||||
|
||||
# TODO: update to 1.22 when there's a Docker 1.10 build to test against
|
||||
2: '1.21',
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue