Skip to content

Commit

Permalink
fix: wait-for-db-migrations in airflow 2.3.0 (#576)
Browse files Browse the repository at this point in the history
Signed-off-by: Max Steele <max@shelfengine.com>
  • Loading branch information
maxsteele-shelf authored Jun 22, 2022
1 parent 2268f24 commit 6c792de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/airflow/templates/db-migrations/_helpers/code.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def needs_db_migrations() -> bool:
log_alembic_level = log_alembic.level
try:
log_alembic.setLevel("WARN")
check_migrations(0)
check_migrations(1)
log_alembic.setLevel(log_alembic_level)
return False
except TimeoutError:
Expand Down Expand Up @@ -133,4 +133,4 @@ main(sync_forever=False)
main(sync_forever=True)
{{- end }}

{{- end }}
{{- end }}

0 comments on commit 6c792de

Please sign in to comment.