This is an automated email from the ASF dual-hosted git repository.
uranusjr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 971a73667c Fix spelling mistake in wwwutils.dag_run_link (#30098)
971a73667c is described below
commit 971a73667c89b5913533e365aef2711cb6c003e1
Author: meujin <[email protected]>
AuthorDate: Wed Mar 15 10:54:09 2023 +0300
Fix spelling mistake in wwwutils.dag_run_link (#30098)
---
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 91842146ec..dbb37b10eb 100644
--- a/airflow/www/utils.py
+++ b/airflow/www/utils.py
@@ -496,7 +496,7 @@ def dag_run_link(attr):
"""Generates a URL to the Graph view for a DagRun."""
dag_id = attr.get("dag_id")
run_id = attr.get("run_id")
- execution_date = attr.get("dag_run.exectuion_date") or
attr.get("execution_date")
+ execution_date = attr.get("dag_run.execution_date") or
attr.get("execution_date")
url = url_for("Airflow.graph", dag_id=dag_id, run_id=run_id,
execution_date=execution_date)
return Markup('<a href="{url}">{run_id}</a>').format(url=url,
run_id=run_id)