You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "alephmelo (via GitHub)" <gi...@apache.org> on 2023/09/04 10:43:01 UTC
[GitHub] [airflow] alephmelo commented on a diff in pull request #33713: Fix action logging decorator for un/pausing events
alephmelo commented on code in PR #33713:
URL: https://github.com/apache/airflow/pull/33713#discussion_r1314761403
##########
airflow/www/decorators.py:
##########
@@ -104,6 +104,8 @@ def wrapper(*args, **kwargs):
params = {k: v for k, v in itertools.chain(request.values.items(), request.view_args.items())}
+ if params and "is_paused" in params:
+ extra_fields.append(("is_paused", params["is_paused"] == "false"))
Review Comment:
Thanks for the feedback. Will do.
--
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