This commit is contained in:
Jephté Clain 2019-06-11 06:39:13 +04:00
parent b3429603c9
commit 7e5859eee5
1 changed files with 2 additions and 2 deletions

4
dk
View File

@ -265,9 +265,9 @@ function docker_set_deploy_args() {
fi
if [ -n "$PROFILE" ]; then
if [ -n "$USE_STACK" -a -f "docker-stack.$PROFILE.yml" ]; then
replace_env_args+=(-c "docker-stack.$PROFILE.yml")
replace_deploy_args+=(-c "docker-stack.$PROFILE.yml")
elif [ -f "docker-compose.$PROFILE.yml" ]; then
replace_env_args+=(-c "docker-compose.$PROFILE.yml")
replace_deploy_args+=(-c "docker-compose.$PROFILE.yml")
fi
fi