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 2019/01/02 05:56:34 UTC

[GitHub] feng-tao closed pull request #4380: [AIRFLOW-3576] Remove unnecessray arg 'root' for /delete in dag.html

feng-tao closed pull request #4380: [AIRFLOW-3576] Remove unnecessray arg 'root' for /delete in dag.html
URL: https://github.com/apache/incubator-airflow/pull/4380
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/airflow/www/templates/airflow/dag.html b/airflow/www/templates/airflow/dag.html
index 3d171c8893..664a6f3120 100644
--- a/airflow/www/templates/airflow/dag.html
+++ b/airflow/www/templates/airflow/dag.html
@@ -101,7 +101,7 @@ <h4 class="pull-right">
         </a>
       </li>
       <li>
-        <a href="{{ url_for("airflow.delete", dag_id=dag.dag_id, root=root) }}"
+        <a href="{{ url_for("airflow.delete", dag_id=dag.dag_id) }}"
         onclick="return confirmDeleteDag('{{ dag.safe_dag_id }}')">
         <span class="glyphicon glyphicon-remove-circle" style="color:red" aria-hidden="true"></span>
         Delete
diff --git a/airflow/www_rbac/templates/airflow/dag.html b/airflow/www_rbac/templates/airflow/dag.html
index ed545c09cf..69b16a7666 100644
--- a/airflow/www_rbac/templates/airflow/dag.html
+++ b/airflow/www_rbac/templates/airflow/dag.html
@@ -101,7 +101,7 @@ <h4 class="pull-right">
         </a>
       </li>
       <li>
-        <a href="{{ url_for('Airflow.delete', dag_id=dag.dag_id, root=root) }}"
+        <a href="{{ url_for('Airflow.delete', dag_id=dag.dag_id) }}"
         onclick="return confirmDeleteDag('{{ dag.safe_dag_id }}')">
         <span class="glyphicon glyphicon-remove-circle" style="color:red" aria-hidden="true"></span>
         Delete


 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services