You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2021/11/05 23:24:56 UTC
[airflow] 04/06: Fix task instance modal in gantt view (#19258)
This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch v2-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit ea0c4bd067c793eadbb1e571bb25fb39b81f0a2e
Author: Robin Edwards <ro...@gmail.com>
AuthorDate: Fri Oct 29 07:29:43 2021 +0100
Fix task instance modal in gantt view (#19258)
(cherry picked from commit aa6c951988123edc84212d98b5a2abad9bd669f9)
---
airflow/www/views.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/airflow/www/views.py b/airflow/www/views.py
index d3e77ff..64a6f83 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -2864,6 +2864,7 @@ class Airflow(AirflowBaseView):
task_dict['end_date'] = task_dict['end_date'] or timezone.utcnow()
task_dict['extraLinks'] = dag.get_task(ti.task_id).extra_links
task_dict['try_number'] = try_count
+ task_dict['execution_date'] = dttm
tasks.append(task_dict)
tf_count = 0
@@ -2885,6 +2886,7 @@ class Airflow(AirflowBaseView):
task_dict['operator'] = task.task_type
task_dict['try_number'] = try_count
task_dict['extraLinks'] = task.extra_links
+ task_dict['execution_date'] = dttm
tasks.append(task_dict)
task_names = [ti.task_id for ti in tis]