This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v2-1-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 91007efc02b224ee40ef38d0ac8d131615e406d9 Author: Jarek Potiuk <[email protected]> AuthorDate: Sat Jul 17 22:18:27 2021 +0200 Fixes detection of version 2 of docker-compose (#17062) Docker compose 2 added `v` in front of the version :( (cherry picked from commit 16564cad6f2956ecb842455d9d6a6255f8d3d817) --- breeze | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/breeze b/breeze index d048bd8..7decdf6 100755 --- a/breeze +++ b/breeze @@ -591,9 +591,9 @@ function breeze::prepare_command_file() { cat <<EOF >"${file}" #!/usr/bin/env bash docker_compose_version=\$(docker-compose --version) -if [[ \${docker_compose_version} =~ .*version\ 2.* ]]; then +if [[ \${docker_compose_version} =~ .*version\ v2.* ]]; then echo - echo "${COLOR_RED}Docker Compose Beta version 2has bug that prevents breeze from running.${COLOR_RESET}" + echo "${COLOR_RED}Docker Compose Beta version v2 has a bug that prevents breeze from running.${COLOR_RESET}" echo "${COLOR_RED}You have: \${docker_compose_version}.${COLOR_RESET}" echo echo "${COLOR_YELLOW}Please switch to stable version via Docker Desktop -> Experimental or by running:${COLOR_RESET}"
