You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/08/02 13:44:13 UTC

[airflow] 18/22: Fix docs link for using SQLite as Metadata DB (#17308)

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

potiuk pushed a commit to branch v2-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 3de7f8265005b0211bdb2d8b254f30f973192084
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Thu Jul 29 16:45:43 2021 +0100

    Fix docs link for using SQLite as Metadata DB (#17308)
    
    Identified the issue in: https://apache-airflow.slack.com/archives/CCQ7EGB1P/p1627558105383900
    
    The page should have been https://airflow.apache.org/docs/apache-airflow/2.1.2/howto/set-up-database.html#setting-up-a-sqlite-database and not https://airflow.apache.org/docs/apache-airflow/2.1.2/howto/set-up-database.rst#setting-up-a-sqlite-database
    
    (cherry picked from commit d6e02dc0d1e3e9663eccac9f60d09020144f0dcb)
---
 airflow/configuration.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/configuration.py b/airflow/configuration.py
index 8ea38fe..23cfb23 100644
--- a/airflow/configuration.py
+++ b/airflow/configuration.py
@@ -240,7 +240,7 @@ class AirflowConfigParser(ConfigParser):
             if StrictVersion(sqlite3.sqlite_version) < StrictVersion(min_sqlite_version):
                 raise AirflowConfigException(
                     f"error: sqlite C library version too old (< {min_sqlite_version}). "
-                    f"See {get_docs_url('howto/set-up-database.rst#setting-up-a-sqlite-database')}"
+                    f"See {get_docs_url('howto/set-up-database.html#setting-up-a-sqlite-database')}"
                 )
 
         if self.has_option('core', 'mp_start_method'):