You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2021/09/22 20:20:38 UTC

[airflow] 01/01: Revert "Fix task instance url in webserver utils (#18418)"

This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch revert-18418-fix-task-url
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit fcc3f9347a9f2a209a051f76bbcaf7b9a322d368
Author: Ephraim Anierobi <sp...@gmail.com>
AuthorDate: Wed Sep 22 21:20:22 2021 +0100

    Revert "Fix task instance url in webserver utils (#18418)"
    
    This reverts commit d50cfd150de327a72136ec7e5f5abe48045ec164.
---
 airflow/www/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/www/utils.py b/airflow/www/utils.py
index 16faa7f..fd85271 100644
--- a/airflow/www/utils.py
+++ b/airflow/www/utils.py
@@ -228,7 +228,7 @@ def task_instance_link(attr):
     dag_id = attr.get('dag_id')
     task_id = attr.get('task_id')
     execution_date = attr.get('dag_run.execution_date') or attr.get('execution_date') or timezone.utcnow()
-    url = url_for('Airflow.task', dag_id=dag_id, task_id=task_id, execution_date=execution_date)
+    url = url_for('Airflow.task', dag_id=dag_id, task_id=task_id)
     url_root = url_for(
         'Airflow.graph', dag_id=dag_id, root=task_id, execution_date=execution_date.isoformat()
     )