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:37 UTC

[airflow] branch revert-18418-fix-task-url created (now fcc3f93)

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

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


      at fcc3f93  Revert "Fix task instance url in webserver utils (#18418)"

This branch includes the following new commits:

     new fcc3f93  Revert "Fix task instance url in webserver utils (#18418)"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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

Posted by ep...@apache.org.
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()
     )