This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 7200835 Improve output of check_environment.sh (#10631)
7200835 is described below
commit 7200835d0e86dbe504c76f4c9bb5c8b3f54950d6
Author: Kamil BreguĊa <[email protected]>
AuthorDate: Fri Aug 28 21:53:11 2020 +0200
Improve output of check_environment.sh (#10631)
---
scripts/in_container/check_environment.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/in_container/check_environment.sh
b/scripts/in_container/check_environment.sh
index 77241a3..0a1fd14 100755
--- a/scripts/in_container/check_environment.sh
+++ b/scripts/in_container/check_environment.sh
@@ -43,7 +43,7 @@ function check_service {
MAX_CHECK=$((MAX_CHECK-1))
fi
if [[ ${MAX_CHECK} == 0 ]]; then
- echo -e " \e[31mERROR!\e[30m"
+ echo -e " \e[31mERROR!\e[0m"
echo "Maximum number of retries while checking service. Exiting"
break
else
@@ -53,6 +53,7 @@ function check_service {
if [[ ${RES} != 0 ]]; then
echo "Service could not be started!"
echo
+ echo "$ ${CALL}"
echo "${LAST_CHECK_RESULT}"
echo
EXIT_CODE=${RES}