Skip to content

Commit

Permalink
fix: misleading print
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisVLRT committed May 7, 2021
1 parent 9b855e8 commit 2a9201a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/set_app_engine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ else
DEPLOYED_VERSIONS=""
fi

if [[ "$DEPLOYED_VERSIONS" == *"mlflow-default"* ]] || [[ "$DEPLOYED_VERSIONS" == "" ]]; then
if [[ "$DEPLOYED_VERSIONS" == "" ]]; then
echo "=> A dummy app engine with the name \"default\" will be created"
./save_var.sh TF_VAR_create_default_service 1
elif [[ "$DEPLOYED_VERSIONS" == *"mlflow-default"* ]];then
./save_var.sh TF_VAR_create_default_service 1
else
./save_var.sh TF_VAR_create_default_service 0
fi

0 comments on commit 2a9201a

Please sign in to comment.