ashb commented on code in PR #23137:
URL: https://github.com/apache/airflow/pull/23137#discussion_r856213884
##########
airflow/configuration.py:
##########
@@ -395,13 +404,9 @@ def _using_old_value(self, old, current_value):
def _update_env_var(self, section, name, new_value):
env_var = self._env_var_name(section, name)
- # If the config comes from environment, set it there so that any
subprocesses keep the same override!
- if env_var in os.environ:
- os.environ[env_var] = new_value
- return
- if not self.has_section(section):
- self.add_section(section)
- self.set(section, name, new_value)
+ # Set it as an env var so that any subprocesses keep the same override!
+ print(f"new value: {new_value}")
Review Comment:
```suggestion
```
--
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]