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 2021/02/11 23:23:34 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #14188: Make --yes work for task clear command

kaxil commented on a change in pull request #14188:
URL: https://github.com/apache/airflow/pull/14188#discussion_r574896471



##########
File path: airflow/models/dag.py
##########
@@ -1189,7 +1189,7 @@ def clear_dags(
                           end_date=end_date,
                           only_failed=only_failed,
                           only_running=only_running,
-                          confirm_prompt=False,
+                          confirm_prompt=confirm_prompt,

Review comment:
       This should be false, we already check confirm_prompt on L1178 and set `do_it` accordingly
   
   ```suggestion
                             confirm_prompt=False,
   ```




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