Răsfoiți Sursa

Pin `docker-compose config`'s version to `3.9`

This avoids bugs on using it's output on swarm

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza 5 ani în urmă
părinte
comite
9f47d4e5d7
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      compose/const.py

+ 1 - 1
compose/const.py

@@ -24,7 +24,7 @@ SECRETS_PATH = '/run/secrets'
 WINDOWS_LONGPATH_PREFIX = '\\\\?\\'
 
 COMPOSEFILE_V1 = ComposeVersion('1')
-COMPOSE_SPEC = ComposeVersion('3')
+COMPOSE_SPEC = ComposeVersion('3.9')
 
 # minimum DOCKER ENGINE API version needed to support
 # features for each compose schema version