You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Qian Yu (Jira)" <ji...@apache.org> on 2019/09/05 13:32:00 UTC

[jira] [Created] (AIRFLOW-5410) AirflowConfigParser no longer find conf entries with capitalized letters

Qian Yu created AIRFLOW-5410:
--------------------------------

             Summary: AirflowConfigParser no longer find conf entries with capitalized letters
                 Key: AIRFLOW-5410
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5410
             Project: Apache Airflow
          Issue Type: Bug
          Components: configuration
    Affects Versions: 1.10.5
            Reporter: Qian Yu


The following commit changed the behavior of configuration parsing globally (although the commit message only says "kubernetes"):
 AIRFLOW-4316 Support setting kubernetes_environment_variables config section from env var (#5668)

 

This used to work:
{code:python}
[mysection]
Guess = "test"{code}
{code:python}
assert conf.get("mysection", "Guess")  == "test"{code}
It stopped working since 1.10.5. It'll break because the key "Guess" is not found. To get around the issue, "Guess" needs to be changed to all lower case
 "guess". This change can cause surprises because it is not obvious from the changelog this commit changed conf parsing everywhere.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)