potiuk commented on a change in pull request #7206: [AIRFLOW-6591] Add cli
option to stop celery worker
URL: https://github.com/apache/airflow/pull/7206#discussion_r368248914
##########
File path: airflow/cli/commands/celery_command.py
##########
@@ -93,9 +98,6 @@ def _serve_logs(skip_serve_logs: bool = False) ->
Optional[Process]:
@cli_utils.action_logging
def worker(args):
"""Starts Airflow Celery worker"""
- env = os.environ.copy()
- env['AIRFLOW_HOME'] = settings.AIRFLOW_HOME
-
Review comment:
Looks like indeed.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services