kaxil commented on pull request #16814: URL: https://github.com/apache/airflow/pull/16814#issuecomment-874122910
> Previously, if a config is migrated to a new section, the migration code would crash with NoSectionError if the user does not add that section to airflow.cfg after upgrading Airflow. This patch automatically creates an empty section when that happens to avoid Airflow from crashing. It should not error, as we have deprecations for the configs/sections that are moved: https://github.com/apache/airflow/blob/b251d22fffad63124eec5246b80035408b543704/airflow/configuration.py#L105-L185 -- 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]
