You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/09/10 23:10:45 UTC

[airflow] branch main updated: Fix Airflow version for `[logging] worker_log_server_port` (#18158)

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik 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 2776e08  Fix Airflow version for `[logging] worker_log_server_port` (#18158)
2776e08 is described below

commit 2776e087df0a28c01cc467e457e2f35263601b8b
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Sat Sep 11 00:10:26 2021 +0100

    Fix Airflow version for `[logging] worker_log_server_port` (#18158)
    
    This will be released in 2.2.0 not 2.3.0
---
 airflow/config_templates/config.yml | 2 +-
 airflow/configuration.py            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow/config_templates/config.yml b/airflow/config_templates/config.yml
index be014cf..4eba300 100644
--- a/airflow/config_templates/config.yml
+++ b/airflow/config_templates/config.yml
@@ -617,7 +617,7 @@
         web server, who then builds pages and sends them to users. This defines
         the port on which the logs are served. It needs to be unused, and open
         visible from the main web server to connect into the workers.
-      version_added: 2.3.0
+      version_added: 2.2.0
       type: string
       example: ~
       default: "8793"
diff --git a/airflow/configuration.py b/airflow/configuration.py
index 9244f9f..c75dcb4 100644
--- a/airflow/configuration.py
+++ b/airflow/configuration.py
@@ -171,7 +171,7 @@ class AirflowConfigParser(ConfigParser):
         ('core', 'sensitive_var_conn_names'): ('admin', 'sensitive_variable_fields', '2.1.0'),
         ('core', 'default_pool_task_slot_count'): ('core', 'non_pooled_task_slot_count', '1.10.4'),
         ('core', 'max_active_tasks_per_dag'): ('core', 'dag_concurrency', '2.2.0'),
-        ('logging', 'worker_log_server_port'): ('celery', 'worker_log_server_port', '2.3.0'),
+        ('logging', 'worker_log_server_port'): ('celery', 'worker_log_server_port', '2.2.0'),
         ('api', 'access_control_allow_origins'): ('api', 'access_control_allow_origin', '2.2.0'),
     }