Skip to content

Commit

Permalink
Fixes check_migrations commands (#8407)
Browse files Browse the repository at this point in the history
Fixes bug where old "wait_for_migrations" function name
is left in the lazy loader of the cli_parser

Co-authored-by: Daniel Imberman <[email protected]>
GitOrigin-RevId: eca7fffbae48bfaae95208f8052ff177a60aac27
  • Loading branch information
2 people authored and Cloud Composer Team committed Sep 11, 2024
1 parent 6a548b3 commit 382de00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/cli/cli_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ class GroupCommand(NamedTuple):
ActionCommand(
name="check-migrations",
help="Check if migration have finished (or continually check until timeout)",
func=lazy_load_command('airflow.cli.commands.db_command.wait_for_migrations'),
func=lazy_load_command('airflow.cli.commands.db_command.check_migrations'),
args=(ARG_MIGRATION_TIMEOUT,),
),
ActionCommand(
Expand Down

0 comments on commit 382de00

Please sign in to comment.