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

potiuk pushed a commit to branch v1-10-stable
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-stable by this push:
     new a1f5b08  Fix "airflow db upgrade" to upgrade db as intended (#13267)
a1f5b08 is described below

commit a1f5b08dbd40d38fce066b13f8d6998bc4d185df
Author: John <[email protected]>
AuthorDate: Wed Dec 23 00:53:05 2020 -0500

    Fix "airflow db upgrade" to upgrade db as intended (#13267)
    
    This commit points the cli "airflow db upgrade" to the intended target of 
that command.
---
 airflow/bin/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py
index ac1b9a4..8128d01 100644
--- a/airflow/bin/cli.py
+++ b/airflow/bin/cli.py
@@ -3111,7 +3111,7 @@ DB_COMMANDS = (
     ActionCommand(
         name='upgrade',
         help="Upgrade the metadata database to latest version",
-        func=upgrade_check,
+        func=upgradedb,
         args=(NOT_DEPRECATED,),
     ),
     ActionCommand(

Reply via email to