This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-6-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit dc41d43e3092d61f417009705392fb7c4b53b947 Author: Ephraim Anierobi <[email protected]> AuthorDate: Sun Apr 30 16:20:42 2023 +0100 Update incorrect config values (#30969) (cherry picked from commit ced56ea5a783a2846094996503d84fc21a33d6ae) --- airflow/config_templates/config.yml | 4 ++-- airflow/configuration.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/airflow/config_templates/config.yml b/airflow/config_templates/config.yml index 1c08f7388d..c0b3f00a8a 100644 --- a/airflow/config_templates/config.yml +++ b/airflow/config_templates/config.yml @@ -48,7 +48,7 @@ core: with argument as: `(file_path: str, zip_file: zipfile.ZipFile | None = None)` return True if it has dags otherwise False If this is not provided, Airflow uses its own heuristic rules. - version_added: ~ + version_added: 2.6.0 type: string example: ~ default: "airflow.utils.file.might_contain_dag_via_default_heuristic" @@ -881,7 +881,7 @@ metrics: If you want to avoid emitting all the available metrics, you can configure an allow list of prefixes (comma separated) to send only the metrics that start with the elements of the list (e.g: "scheduler,executor,dagrun") - version_added: 2.0.0 + version_added: 2.6.0 type: string example: ~ default: "" diff --git a/airflow/configuration.py b/airflow/configuration.py index fed7e5930d..c5d4920f06 100644 --- a/airflow/configuration.py +++ b/airflow/configuration.py @@ -199,8 +199,8 @@ class AirflowConfigParser(ConfigParser): "2.0.0", ), ("logging", "task_log_reader"): ("core", "task_log_reader", "2.0.0"), - ("metrics", "metrics_allow_list"): ("metrics", "statsd_allow_list", "2.5.3"), - ("metrics", "metrics_block_list"): ("metrics", "statsd_block_list", "2.5.3"), + ("metrics", "metrics_allow_list"): ("metrics", "statsd_allow_list", "2.6.0"), + ("metrics", "metrics_block_list"): ("metrics", "statsd_block_list", "2.6.0"), ("metrics", "statsd_on"): ("scheduler", "statsd_on", "2.0.0"), ("metrics", "statsd_host"): ("scheduler", "statsd_host", "2.0.0"), ("metrics", "statsd_port"): ("scheduler", "statsd_port", "2.0.0"),
