bolkedebruin commented on a change in pull request #3740: [AIRFLOW-2888] Remove
shell=True and bash from task launch
URL: https://github.com/apache/incubator-airflow/pull/3740#discussion_r212264469
##########
File path: airflow/executors/celery_executor.py
##########
@@ -84,7 +84,7 @@ def execute_async(self, key, command,
self.log.info("[celery] queuing {key} through celery, "
"queue={queue}".format(**locals()))
self.tasks[key] = execute_command.apply_async(
- args=[command], queue=queue)
+ args=command, queue=queue)
Review comment:
Good catch! I do think renaming the parmeter is the right way.
Update: strike that got why it happens with celery
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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