You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/03 10:50:23 UTC

[GitHub] [airflow] ashb commented on a change in pull request #12766: Kubernetes worker pod doesn't use docker container entrypoint

ashb commented on a change in pull request #12766:
URL: https://github.com/apache/airflow/pull/12766#discussion_r535092513



##########
File path: scripts/in_container/prod/entrypoint_prod.sh
##########
@@ -129,7 +129,7 @@ if [[ ${AIRFLOW_COMMAND} == "bash" ]]; then
 elif [[ ${AIRFLOW_COMMAND} == "python" ]]; then
    shift
    exec "python" "${@}"
+elif [[ ${AIRFLOW_COMMAND} == "airflow" ]]; then
+   shift
+   exec "airflow" "${@}"
 fi
-
-# Run the command
-exec airflow "${@}"

Review comment:
       Could we replace this all with just `exec "${@}"`?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org