feng-tao commented on a change in pull request #4309: [AIRFLOW-3504]
Extend/refine the functionality of "/health" endpoint
URL: https://github.com/apache/incubator-airflow/pull/4309#discussion_r245173540
##########
File path: airflow/www_rbac/blueprints.py
##########
@@ -17,19 +17,11 @@
# specific language governing permissions and limitations
# under the License.
#
-from flask import Markup, Blueprint, redirect
-import markdown
+from flask import Blueprint, redirect
routes = Blueprint('routes', __name__)
@routes.route('/')
def index():
return redirect('/home')
-
-
[email protected]('/health')
-def health():
Review comment:
I wonder why we modify the health function in the blueprint.py in the old UI
while delete this function and move it to views.py?
Either way is fine, just want to understand why we do the same(both delete
and move to views.py) for old/new UI?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services