jscheffl commented on code in PR #45958:
URL: https://github.com/apache/airflow/pull/45958#discussion_r1930084895
##########
providers/edge/src/airflow/providers/edge/plugins/templates/edge_worker_hosts.html:
##########
@@ -97,6 +100,25 @@ <h2>Edge Worker Hosts</h2>
{% endfor %}
</ul>
</td>
+ <td>
+ {%- if host.state == "idle" or host.state == "running" -%}
+ <form action="../edgeworkerhosts/status/maintenance/{{
host.worker_name }}/on" method="GET">
Review Comment:
Can we switch to POST, then we have less of a problem that an admin is
having a Cross-Site-Scripting problem because CORS is checked.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]