You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/11/17 12:38:41 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #12397: Make airflow upgrade_check a command from a separate dist

kaxil commented on a change in pull request #12397:
URL: https://github.com/apache/airflow/pull/12397#discussion_r525122209



##########
File path: airflow/bin/cli.py
##########
@@ -2888,9 +2879,10 @@ class CLIFactory(object):
         },
         {
             'name': 'upgrade_check',
-            'help': 'Check if you can upgrade to the new version.',
+            'help': 'Check if you can safely upgrade to the new version.',
             'func': upgrade_check,
-            'args': ('save', ),
+            'from_module': 'airflow.upgrade.achecker',

Review comment:
       ```suggestion
               'from_module': 'airflow.upgrade.checker',
   ```




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org