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 55dccc704f37d1d146e6273966d7ada48e901a92
Author: Kamil BreguĊ‚a <[email protected]>
AuthorDate: Tue Jul 27 14:45:07 2021 +0200

    Remove support for Airflow 1.10 cmds in entrypoint_prod.sh (#17248)
    
    (cherry picked from commit 00ffae851b17b779581944734a9bf03bf8f63efc)
---
 docs/docker-stack/entrypoint.rst             | 2 +-
 scripts/in_container/prod/entrypoint_prod.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/docker-stack/entrypoint.rst b/docs/docker-stack/entrypoint.rst
index dad13f4..a999892 100644
--- a/docs/docker-stack/entrypoint.rst
+++ b/docs/docker-stack/entrypoint.rst
@@ -105,7 +105,7 @@ To disable check, set ``CONNECTION_CHECK_MAX_COUNT=0``.
 Waits for celery broker connection
 ----------------------------------
 
-In case CeleryExecutor is used, and one of the ``scheduler``, ``celery``, 
``worker``, or ``flower``
+In case CeleryExecutor is used, and one of the ``scheduler``, ``celery``
 commands are used the entrypoint will wait until the celery broker DB 
connection is available.
 
 The script detects backend type depending on the URL schema and assigns 
default port numbers if not specified
diff --git a/scripts/in_container/prod/entrypoint_prod.sh 
b/scripts/in_container/prod/entrypoint_prod.sh
index d4a2e8e..674b569 100755
--- a/scripts/in_container/prod/entrypoint_prod.sh
+++ b/scripts/in_container/prod/entrypoint_prod.sh
@@ -319,7 +319,7 @@ if [[ ${AIRFLOW_COMMAND} == "airflow" ]]; then
 fi
 
 # Note: the broker backend configuration concerns only a subset of Airflow 
components
-if [[ ${AIRFLOW_COMMAND} =~ ^(scheduler|celery|worker|flower)$ ]] \
+if [[ ${AIRFLOW_COMMAND} =~ ^(scheduler|celery)$ ]] \
     && [[ "${CONNECTION_CHECK_MAX_COUNT}" -gt "0" ]]; then
     wait_for_celery_broker
 fi

Reply via email to