sunank200 commented on code in PR #46969:
URL: https://github.com/apache/airflow/pull/46969#discussion_r1965980836
##########
airflow/executors/local_executor.py:
##########
@@ -121,7 +121,7 @@ def _execute_work(log: logging.Logger, workload:
workloads.ExecuteTask) -> None:
dag_rel_path=workload.dag_rel_path,
bundle_info=workload.bundle_info,
token=workload.token,
- server=conf.get("workers", "execution_api_server_url",
fallback="http://localhost:9091/execution/"),
+ server=conf.get("core", "execution_api_server_url"),
Review Comment:
I mean here:
https://github.com/astronomer/airflow/blob/main/airflow/cli/commands/remote_commands/config_command.py#L115
##########
airflow/executors/local_executor.py:
##########
@@ -121,7 +121,7 @@ def _execute_work(log: logging.Logger, workload:
workloads.ExecuteTask) -> None:
dag_rel_path=workload.dag_rel_path,
bundle_info=workload.bundle_info,
token=workload.token,
- server=conf.get("workers", "execution_api_server_url",
fallback="http://localhost:9091/execution/"),
+ server=conf.get("core", "execution_api_server_url"),
Review Comment:
Do we need to update `airflow config lint` mapping as well for this?
--
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]