turbaszek commented on a change in pull request #13392:
URL: https://github.com/apache/airflow/pull/13392#discussion_r553140103
##########
File path: airflow/upgrade/checker.py
##########
@@ -94,7 +107,10 @@ def __main__():
parser = argparse.ArgumentParser()
register_arguments(parser)
args = parser.parse_args()
- args.func(args)
+ if args.list:
+ list_checks()
+ else:
+ run(args)
Review comment:
Oh, never mind... I missed that it was in `main` function and I thought
it was defined in `run`...
<img width="644" alt="Screenshot 2021-01-07 at 07 51 17"
src="https://user-images.githubusercontent.com/9528307/103861098-22ee0f80-50bd-11eb-8309-7b0f709f68c0.png">
----------------------------------------------------------------
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:
[email protected]