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 2022/10/14 19:02:18 UTC

[GitHub] [airflow] jedcunningham commented on a diff in pull request #27064: Avoid 500 on dag redirect

jedcunningham commented on code in PR #27064:
URL: https://github.com/apache/airflow/pull/27064#discussion_r996053298


##########
airflow/www/views.py:
##########
@@ -2454,7 +2454,8 @@ def success(self):
     @action_logging
     def dag(self, dag_id):
         """Redirect to default DAG view."""
-        return redirect(url_for('Airflow.grid', dag_id=dag_id, **request.args))
+        kwargs = {**request.args, "dag_id": dag_id}

Review Comment:
   Oh, yes, that's correct. Let me reword the commit.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org