Arunodoy18 commented on code in PR #60557:
URL: https://github.com/apache/airflow/pull/60557#discussion_r2697482560


##########
scripts/docker/entrypoint_prod.sh:
##########
@@ -283,10 +283,17 @@ readonly CONNECTION_CHECK_SLEEP_TIME
 
 create_system_user_if_missing
 set_pythonpath_for_root_user
+

Review Comment:
   Thanks for the review!
   
   I’ve updated the logic to handle both invocation styles:
   
   docker run IMAGE airflow <command>
   docker run IMAGE <command>
   
   
   by relying on the existing argument normalization earlier in 
entrypoint_prod.sh, and restricting the DB check to the allow-listed commands 
(scheduler, dag-processor, api-server, triggerer).
   
   I’ve also updated the comment to consistently use api-server.
   
   Pre-commit hooks have been run on the updated script.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to