This is an automated email from the ASF dual-hosted git repository.
taragolis 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 2bc1081ea6 Fix extension of Internal API configuration path (#29681)
2bc1081ea6 is described below
commit 2bc1081ea6ca569b4e7fc538bfc827d74e8493ae
Author: Bugra Ozturk <[email protected]>
AuthorDate: Wed Feb 22 10:17:05 2023 +0100
Fix extension of Internal API configuration path (#29681)
Co-authored-by: bugraozturk <[email protected]>
---
airflow/www/extensions/init_views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/www/extensions/init_views.py
b/airflow/www/extensions/init_views.py
index c2095ba82f..e043d6c578 100644
--- a/airflow/www/extensions/init_views.py
+++ b/airflow/www/extensions/init_views.py
@@ -232,7 +232,7 @@ def init_api_internal(app: Flask, standalone_api: bool =
False) -> None:
if not standalone_api and not conf.getboolean("webserver",
"run_internal_api", fallback=False):
return
- with open(path.join(ROOT_APP_DIR, "api_internal", "openapi",
"internal_api_v1.yml")) as f:
+ with open(path.join(ROOT_APP_DIR, "api_internal", "openapi",
"internal_api_v1.yaml")) as f:
specification = safe_load(f)
api_bp = FlaskApi(
specification=specification,