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/06/06 08:22:38 UTC

[GitHub] [airflow] e-roux commented on a diff in pull request #24227: Make webserver_config.py location customizable #10206

e-roux commented on code in PR #24227:
URL: https://github.com/apache/airflow/pull/24227#discussion_r889927926


##########
airflow/configuration.py:
##########
@@ -1356,7 +1356,7 @@ def initialize_config() -> AirflowConfigParser:
 
     # Make it no longer a proxy variable, just set it to an actual string
     global WEBSERVER_CONFIG
-    WEBSERVER_CONFIG = AIRFLOW_HOME + '/webserver_config.py'
+    WEBSERVER_CONFIG = local_conf.get('webserver', 'config')  # type: ignore[assignment]

Review Comment:
   this doesn't indeed!



-- 
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