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 17:31:30 UTC

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

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



##########
File path: airflow/bin/cli.py
##########
@@ -857,7 +857,8 @@ def clear(args):
                 task_regex=args.task_regex,
                 include_downstream=args.downstream,
                 include_upstream=args.upstream)
-
+    if args.yes:
+        args.no_confirm = args.yes

Review comment:
       I saw that no_confirm has been around for the command for a while, that made me not to remove it entirely. I will remove it now.




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